Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix tests

Marcin Gębala93fd62bc61c0
diff --git a/tests/test_graphql.py b/tests/test_graphql.py
index e29e11908f..46036e8771 100644
--- a/tests/test_graphql.py
+++ b/tests/test_graphql.py
@@ -16,7 +16,6 @@ def test_category_query(client, product_in_stock):
category(id: "%(category_pk)s") {
id
name
- productsCount
ancestors {
edges {
node {
@@ -47,7 +46,6 @@ def test_category_query(client, product_in_stock):
category_data = content['data']['category']
assert category_data is not None
assert category_data['name'] == category.name
- assert category_data['productsCount'] == category.products.count()
assert (
len(category_data['ancestors']['edges']) ==
category.get_ancestors().count())