Skip to content

Commit

Permalink
Revert skipped phpunit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed Jan 9, 2025
1 parent f746c98 commit eb7ab4f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/Api/Admin/CatalogPromotionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit eb7ab4f

Please sign in to comment.