We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0efdc96 commit 58f36f3Copy full SHA for 58f36f3
backend/tests/clubs/test_ticketing.py
@@ -62,7 +62,6 @@ def commonSetUp(self):
62
63
self.ticket_settings = TicketSettings.objects.create(
64
event=self.event1,
65
- order_limit=10,
66
)
67
68
self.ticket_totals = [
@@ -616,6 +615,9 @@ def test_add_to_cart_twice_accumulates(self):
616
615
self.assertEqual(cart.tickets.filter(type="premium").count(), 2, cart.tickets)
617
618
def test_add_to_cart_order_limit_exceeded(self):
+ self.ticket_settings.order_limit = 10
619
+ self.ticket_settings.save()
620
+
621
self.client.login(username=self.user1.username, password="test")
622
623
tickets_to_add = {
0 commit comments