diff --git a/registrasion/tests/test_voucher.py b/registrasion/tests/test_voucher.py index de47c864..b9373583 100644 --- a/registrasion/tests/test_voucher.py +++ b/registrasion/tests/test_voucher.py @@ -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)