From eb7ab4fce20c19be9b031e0cfa4ba23159f6eaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pysiak?= Date: Thu, 9 Jan 2025 07:24:25 +0100 Subject: [PATCH] Revert skipped phpunit test --- tests/Api/Admin/CatalogPromotionsTest.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/Api/Admin/CatalogPromotionsTest.php b/tests/Api/Admin/CatalogPromotionsTest.php index fc7979e2edf..958d7f5a6b8 100644 --- a/tests/Api/Admin/CatalogPromotionsTest.php +++ b/tests/Api/Admin/CatalogPromotionsTest.php @@ -21,7 +21,6 @@ use Sylius\Component\Core\Model\CatalogPromotionInterface; use Sylius\Tests\Api\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; -use Symfony\Component\HttpKernel\Kernel; final class CatalogPromotionsTest extends JsonApiTestCase { @@ -163,12 +162,6 @@ public function it_does_not_create_a_catalog_promotion_with_end_date_earlier_tha /** @test */ public function it_does_not_create_a_catalog_promotion_with_invalid_scopes(): void { - if (Kernel::VERSION_ID >= 70200) { - // Behavior of validation changed in Symfony starting from version 7.2.0 - // Details: https://github.com/symfony/symfony/pull/57436 - $this->markTestSkipped('This test is skipped due to a behavior change in Symfony starting from version 7.2.0.'); - } - $this->loadFixturesFromFiles([ 'authentication/api_administrator.yaml', 'channel/channel.yaml',