Amends test to test *both* paths for validating invoices.
This commit is contained in:
		
							parent
							
								
									5a7819b0d7
								
							
						
					
					
						commit
						0329ee7bb2
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -562,6 +562,7 @@ class InvoiceTestCase(RegistrationCartTestCase): | |||
|         # Adding to cart will mean that the old invoice for this cart | ||||
|         # will be invalidated. A new invoice should be generated. | ||||
|         cart.add_to_cart(self.PROD_1, 1) | ||||
|         invoice = TestingInvoiceController.for_id(invoice.invoice.id) | ||||
|         invoice2 = TestingInvoiceController.for_cart(cart.cart) | ||||
| 
 | ||||
|         invoice.invoice.refresh_from_db() | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer