From 4252179b729d3e280c7de83cd024a4cf7b8ca6eb Mon Sep 17 00:00:00 2001 From: jkindly Date: Wed, 18 Sep 2024 10:09:11 +0200 Subject: [PATCH] OP-525: PHPUnit fix --- src/Resources/config/api_resources/Block.xml | 1 - src/Resources/config/serialization/Block.xml | 3 --- tests/Functional/DataFixtures/ORM/Api/BlockTest/block.yml | 6 ------ .../Expected/Api/BlockTest/test_it_get_block_by_id.json | 3 --- 4 files changed, 13 deletions(-) diff --git a/src/Resources/config/api_resources/Block.xml b/src/Resources/config/api_resources/Block.xml index d1bec15b..7081e099 100644 --- a/src/Resources/config/api_resources/Block.xml +++ b/src/Resources/config/api_resources/Block.xml @@ -44,7 +44,6 @@ - diff --git a/src/Resources/config/serialization/Block.xml b/src/Resources/config/serialization/Block.xml index ad39aa16..c0648ecd 100644 --- a/src/Resources/config/serialization/Block.xml +++ b/src/Resources/config/serialization/Block.xml @@ -23,9 +23,6 @@ sylius_cms:block:read:show - - sylius_cms:block:read:show - sylius_cms:block:read:show diff --git a/tests/Functional/DataFixtures/ORM/Api/BlockTest/block.yml b/tests/Functional/DataFixtures/ORM/Api/BlockTest/block.yml index 822e4510..95c65dcb 100644 --- a/tests/Functional/DataFixtures/ORM/Api/BlockTest/block.yml +++ b/tests/Functional/DataFixtures/ORM/Api/BlockTest/block.yml @@ -80,8 +80,6 @@ Sylius\CmsPlugin\Entity\Block: - '@collection1' channels: - '@channel' - locales: - - '@locale' block2: code: 'block2-code' name: 'block2-name' @@ -90,8 +88,6 @@ Sylius\CmsPlugin\Entity\Block: - '@collection2' channels: - '@channel' - locales: - - '@locale' block3: code: 'block3-code' name: 'block3-name' @@ -100,8 +96,6 @@ Sylius\CmsPlugin\Entity\Block: - '@collection3' channels: - '@channel' - locales: - - '@locale' Sylius\CmsPlugin\Entity\Collection: collection1: code: 'collection1-code' diff --git a/tests/Functional/Responses/Expected/Api/BlockTest/test_it_get_block_by_id.json b/tests/Functional/Responses/Expected/Api/BlockTest/test_it_get_block_by_id.json index 33c79870..565ccbfd 100644 --- a/tests/Functional/Responses/Expected/Api/BlockTest/test_it_get_block_by_id.json +++ b/tests/Functional/Responses/Expected/Api/BlockTest/test_it_get_block_by_id.json @@ -12,9 +12,6 @@ "channels": [ "/api/v2/shop/channels/code" ], - "locales": [ - "/api/v2/shop/locales/@string@" - ], "contentElements": [], "products": [], "taxons": [],