Skip to content

Commit

Permalink
[PHPUnit] Move subscribers tests to main directory
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Mar 7, 2022
1 parent afa04e3 commit b00eb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Sylius\Bundle\AdminBundle\Tests\EventListener;
namespace Sylius\Tests\EventListener;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

Expand All @@ -28,16 +28,4 @@ public function it_returns_proper_cache_headers_for_admin_endpoints(): void

$this->assertResponseHeaderSame('Cache-Control', 'max-age=0, must-revalidate, no-cache, no-store, private');
}

/**
* @test
*/
public function it_returns_standard_headers_otherwise(): void
{
$client = static::createClient();

$client->request('GET', '/en_US/');

$this->assertResponseHeaderSame('Cache-Control', 'max-age=0, must-revalidate, private');
}
}
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Sylius\Bundle\ShopBundle\Tests\EventListener;
namespace Sylius\Tests\EventListener;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

Expand All @@ -28,16 +28,4 @@ public function it_returns_proper_cache_headers_for_customer_account_endpoints()

$this->assertResponseHeaderSame('Cache-Control', 'max-age=0, must-revalidate, no-cache, no-store, private');
}

/**
* @test
*/
public function it_returns_standard_headers_otherwise(): void
{
$client = static::createClient();

$client->request('GET', '/en_US/');

$this->assertResponseHeaderSame('Cache-Control', 'max-age=0, must-revalidate, private');
}
}

0 comments on commit b00eb51

Please sign in to comment.