Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add test
Adam Janik682e0ff3cd74
diff --git a/tests/api/test_core.py b/tests/api/test_core.pyindex ce804f40d6..5bc65aa1b7 100644--- a/tests/api/test_core.py+++ b/tests/api/test_core.py@@ -5,7 +5,7 @@ from phonenumbers import COUNTRY_CODE_TO_REGION_CODEfrom saleor.core.permissions import MODELS_PERMISSIONS-def test_shop_endpoint(settings, admin_api_client, admin_user):+def test_shop_endpoint(settings, admin_api_client):query = """query shop {shop {@@ -32,4 +32,6 @@ def test_shop_endpoint(settings, admin_api_client, admin_user):assert len(permissions_codes) == len(MODELS_PERMISSIONS)for code in permissions_codes:assert code in MODELS_PERMISSIONS+ assert len(data['languages']) == len(languages)+ assert len(data['phonePrefixes']) == len(COUNTRY_CODE_TO_REGION_CODE)