update query counts

This commit is contained in:
Mira Weller
2024-09-30 16:53:34 +02:00
parent b5fc227fca
commit d879637b73

View File

@@ -500,7 +500,7 @@ def test_query_count_many_items(event, itemcount):
recommendations=''' Price Discounted Price Max Count recommendations=''' Price Discounted Price Max Count
Tickets Ticket 2 42.00 0.00 1 Tickets Ticket 2 42.00 0.00 1
''', ''',
expect_num_queries=13, expect_num_queries=12,
) )
check_cart_behaviour( check_cart_behaviour(
event, event,
@@ -516,7 +516,7 @@ def test_query_count_many_items(event, itemcount):
recommendations=''' Price Discounted Price Max Count recommendations=''' Price Discounted Price Max Count
Tickets Ticket 2 42.00 0.00 1 Tickets Ticket 2 42.00 0.00 1
''', ''',
expect_num_queries=13, expect_num_queries=12,
) )
@@ -554,7 +554,7 @@ def test_query_count_many_categories_and_discounts(event, catcount):
recommendations=''' Price Discounted Price Max Count recommendations=''' Price Discounted Price Max Count
Category 1 Ticket 1-B 42.00 0.00 1 Category 1 Ticket 1-B 42.00 0.00 1
''', ''',
expect_num_queries=13, expect_num_queries=12,
) )
check_cart_behaviour( check_cart_behaviour(
event, event,
@@ -570,7 +570,7 @@ def test_query_count_many_categories_and_discounts(event, catcount):
recommendations=''' Price Discounted Price Max Count recommendations=''' Price Discounted Price Max Count
Category 1 Ticket 1-B 42.00 0.00 1 Category 1 Ticket 1-B 42.00 0.00 1
''', ''',
expect_num_queries=13, expect_num_queries=12,
) )
@@ -608,7 +608,7 @@ def test_query_count_many_cartpos(event, catcount):
recommendations=''' Price Discounted Price Max Count recommendations=''' Price Discounted Price Max Count
Category 1 Ticket 1-B 42.00 0.00 1 Category 1 Ticket 1-B 42.00 0.00 1
''', ''',
expect_num_queries=13, expect_num_queries=12,
) )
check_cart_behaviour( check_cart_behaviour(
event, event,
@@ -630,5 +630,5 @@ def test_query_count_many_cartpos(event, catcount):
Category 1 Ticket 1-B 42.00 0.00 1 Category 1 Ticket 1-B 42.00 0.00 1
Category 2 Ticket 2-B 42.00 0.00 1 Category 2 Ticket 2-B 42.00 0.00 1
''', ''',
expect_num_queries=18, expect_num_queries=16,
) )