Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Extend ProductType with type field
IKarbowiak520aa7fa3c22
diff --git a/saleor/graphql/product/tests/test_product.py b/saleor/graphql/product/tests/test_product.pyindex 0d7e4930e2..4b5ec5283b 100644--- a/saleor/graphql/product/tests/test_product.py+++ b/saleor/graphql/product/tests/test_product.py@@ -7465,6 +7465,7 @@ def test_create_product_type_with_date_attribute(query = PRODUCT_TYPE_CREATE_MUTATIONproduct_type_name = "test type"slug = "test-type"+ type = ProductTypeKindEnum.NORMAL.nameproduct_type.product_attributes.add(date_attribute)product_type.product_attributes.add(date_time_attribute)@@ -7477,7 +7478,7 @@ def test_create_product_type_with_date_attribute(variables = {"name": product_type_name,"slug": slug,- "type": ProductTypeKindEnum.NORMAL.name,+ "type": type,"productAttributes": product_attributes_ids,}@@ -7495,6 +7496,7 @@ def test_create_product_type_with_date_attribute(assert not errorsassert data["name"] == product_type_nameassert data["slug"] == slug+ assert data["type"] == typefor attribute in expected_attribute:assert attribute in data["productAttributes"]