Skip to content

Commit 65b91ac

Browse files
committed
tests ✅ update test values
1 parent 3c12ac8 commit 65b91ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oscar_elasticsearch/search/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,14 @@ def create_parent_child_products():
239239
create_parent_child_products()
240240
self.assertEqual(Product.objects.count(), 66) # 6 inside the fixtures
241241

242-
with self.assertNumQueries(25):
242+
with self.assertNumQueries(23):
243243
call_command("update_index_products")
244244

245245
# create 10 extra product with each 5 childs
246246
create_parent_child_products()
247247

248248
# The amount of queries should not change.
249-
with self.assertNumQueries(25):
249+
with self.assertNumQueries(23):
250250
call_command("update_index_products")
251251

252252
def test_popularity_based_on_order_lines(self):

0 commit comments

Comments
 (0)