Fixes an incorrect voucher test
This commit is contained in:
parent
6f28c20b70
commit
8d07518a9b
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ class VoucherTestCases(RegistrationCartTestCase):
|
|||
inv = InvoiceController.for_cart(current_cart.cart)
|
||||
inv.pay("Hello!", inv.invoice.value)
|
||||
|
||||
current_cart = TestingCartController.for_user(self.USER_1)
|
||||
|
||||
with self.assertRaises(ValidationError):
|
||||
current_cart.apply_voucher(voucher.code)
|
||||
|
||||
|
|
Loading…
Reference in a new issue