Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix review remarks
fowczareka77be0b0c309
diff --git a/tests/api/test_account.py b/tests/api/test_account.pyindex 67f1875628..d25655836b 100644--- a/tests/api/test_account.py+++ b/tests/api/test_account.py@@ -152,15 +152,17 @@ def test_non_staff_user_can_only_see_his_user_data(user_api_client,}}"""- ID = graphene.Node.to_global_id('User', staff_user.id)- variables = {'id': ID}+ id = graphene.Node.to_global_id('User', staff_user.id)+ variables = {'id': id}response = user_api_client.post_graphql(query, variables)content = get_graphql_content(response)data = content['data']['user']assert data is None++ # Ensure user can see own datauser = user_api_client.user- ID = graphene.Node.to_global_id('User', user.id)- variables = {'id': ID}+ id = graphene.Node.to_global_id('User', user.id)+ variables = {'id': id}response = user_api_client.post_graphql(query, variables)content = get_graphql_content(response)data = content['data']['user']