diff --git a/tests/Api/Responses/admin/product_attribute/get_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/get_product_attribute_response.json index 702e2a4768..4dd4810c24 100644 --- a/tests/Api/Responses/admin/product_attribute/get_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/get_product_attribute_response.json @@ -9,9 +9,8 @@ "translatable": true, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/origin\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "origin" } }, diff --git a/tests/Api/Responses/admin/product_attribute/get_product_attribute_translation_response.json b/tests/Api/Responses/admin/product_attribute/get_product_attribute_translation_response.json deleted file mode 100644 index b29736801a..0000000000 --- a/tests/Api/Responses/admin/product_attribute/get_product_attribute_translation_response.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": "\/api\/v2\/contexts\/ProductAttributeTranslation", - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", - "@type": "ProductAttributeTranslation", - "id": "@integer@", - "name": "mozna myc w zmywarce" -} diff --git a/tests/Api/Responses/admin/product_attribute/get_product_attributes_response.json b/tests/Api/Responses/admin/product_attribute/get_product_attributes_response.json index 4bf3c50bd3..e3861eec51 100644 --- a/tests/Api/Responses/admin/product_attribute/get_product_attributes_response.json +++ b/tests/Api/Responses/admin/product_attribute/get_product_attributes_response.json @@ -13,15 +13,13 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/dishwasher_safe\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "dishwasher safe" }, "pl_PL": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/dishwasher_safe\/translations\/pl_PL", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "mozna myc w zmywarce" } }, @@ -37,9 +35,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/manufactured\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "manufactured" } }, @@ -55,9 +52,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/available_until\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "available until" } }, @@ -73,9 +69,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/capacity\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "capacity" } }, @@ -91,9 +86,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/yixing_clay\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "yixing clay" } }, @@ -121,9 +115,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/extra_info\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "extra info" } }, @@ -139,9 +132,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/note\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "note" } }, @@ -157,9 +149,8 @@ "translatable": true, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/origin\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "origin" } }, @@ -175,9 +166,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/text_delete\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "text delete" } }, diff --git a/tests/Api/Responses/admin/product_attribute/post_checkbox_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_checkbox_product_attribute_response.json index d3c0205bbe..3285d2a1a5 100644 --- a/tests/Api/Responses/admin/product_attribute/post_checkbox_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_checkbox_product_attribute_response.json @@ -10,9 +10,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/new/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "New" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_date_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_date_product_attribute_response.json index 76e9d2a2b6..67c6342f3c 100644 --- a/tests/Api/Responses/admin/product_attribute/post_date_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_date_product_attribute_response.json @@ -12,9 +12,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/published_at\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Published at" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_datetime_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_datetime_product_attribute_response.json index b97fe66ab1..e5e86b8443 100644 --- a/tests/Api/Responses/admin/product_attribute/post_datetime_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_datetime_product_attribute_response.json @@ -12,9 +12,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/published_at\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Published at" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_float_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_float_product_attribute_response.json index 713d1a4364..22a7ba78b2 100644 --- a/tests/Api/Responses/admin/product_attribute/post_float_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_float_product_attribute_response.json @@ -10,9 +10,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/display_size\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Display size" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_integer_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_integer_product_attribute_response.json index 0ddeef626e..2371417467 100644 --- a/tests/Api/Responses/admin/product_attribute/post_integer_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_integer_product_attribute_response.json @@ -10,9 +10,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/pages\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Pages" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_percent_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_percent_product_attribute_response.json index 558fea6d40..8b4d5a2be4 100644 --- a/tests/Api/Responses/admin/product_attribute/post_percent_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_percent_product_attribute_response.json @@ -10,9 +10,8 @@ "translatable": false, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/damage_reduction\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Damage reduction" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_select_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_select_product_attribute_response.json index 39bbd318dd..f5ff42c845 100644 --- a/tests/Api/Responses/admin/product_attribute/post_select_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_select_product_attribute_response.json @@ -23,9 +23,8 @@ "translatable": true, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/material\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Material" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_text_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_text_product_attribute_response.json index 11c11d0411..61b67ba843 100644 --- a/tests/Api/Responses/admin/product_attribute/post_text_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_text_product_attribute_response.json @@ -13,9 +13,8 @@ "translatable": true, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/material\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Material" } } diff --git a/tests/Api/Responses/admin/product_attribute/post_textarea_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/post_textarea_product_attribute_response.json index e75986fe21..298022c840 100644 --- a/tests/Api/Responses/admin/product_attribute/post_textarea_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/post_textarea_product_attribute_response.json @@ -10,9 +10,8 @@ "translatable": true, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/material\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Material" } } diff --git a/tests/Api/Responses/admin/product_attribute/put_product_attribute_response.json b/tests/Api/Responses/admin/product_attribute/put_product_attribute_response.json index a09ac4f5ab..ed1a49394c 100644 --- a/tests/Api/Responses/admin/product_attribute/put_product_attribute_response.json +++ b/tests/Api/Responses/admin/product_attribute/put_product_attribute_response.json @@ -28,15 +28,13 @@ "translatable": true, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/extra_info\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Additional information" }, "pl_PL": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/extra_info\/translations\/pl_PL", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "Dodatkowe informacje" } } diff --git a/tests/Api/Responses/admin/product_attribute/put_product_attribute_with_code_and_type_response.json b/tests/Api/Responses/admin/product_attribute/put_product_attribute_with_code_and_type_response.json index 702e2a4768..4dd4810c24 100644 --- a/tests/Api/Responses/admin/product_attribute/put_product_attribute_with_code_and_type_response.json +++ b/tests/Api/Responses/admin/product_attribute/put_product_attribute_with_code_and_type_response.json @@ -9,9 +9,8 @@ "translatable": true, "translations": { "en_US": { - "@id": "\/api\/v2\/admin\/product-attribute-translations\/@integer@", + "@id": "\/api\/v2\/admin\/product-attributes\/origin\/translations\/en_US", "@type": "ProductAttributeTranslation", - "id": "@integer@", "name": "origin" } },