Changeset - 0329ee7bb2c9
[Not reviewed]
0 1 0
Christopher Neugebauer - 8 years ago 2016-09-03 01:11:44
chrisjrn@gmail.com
Amends test to test *both* paths for validating invoices.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
registrasion/tests/test_invoice.py
Show inline comments
...
 
@@ -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()
0 comments (0 inline, 0 general)