Skip to content

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

Fix test assertion

Adam Janikd2a436dcccd2
diff --git a/tests/api/test_order.py b/tests/api/test_order.py
index 348ecc4581..404f8bae7b 100644
--- a/tests/api/test_order.py
+++ b/tests/api/test_order.py
@@ -68,4 +68,4 @@ def test_non_staff_user_can_only_see_his_order(user_api_client, order):
reverse('api'), {'query': query, 'variables': variables})
content = get_graphql_content(response)
order_data = content['data']['order']
- assert order_data is None
+ assert not order_data