diff --git a/tests/App/AppKernel.php b/tests/App/AppKernel.php index 64128a60..273538a6 100644 --- a/tests/App/AppKernel.php +++ b/tests/App/AppKernel.php @@ -37,13 +37,8 @@ public function registerContainerConfiguration(LoaderInterface $loader): void { $loader->load(__DIR__.'/config.yml'); - if (Kernel::MAJOR_VERSION >= 5) { - $loader->load(__DIR__.'/security_5.yml'); - $loader->load(__DIR__.'/session_5.yml'); - } else { - $loader->load(__DIR__.'/security_4.yml'); - $loader->load(__DIR__.'/session_4.yml'); - } + $loader->load(__DIR__.'/security_5.yml'); + $loader->load(__DIR__.'/session_5.yml'); } public function getCacheDir(): string diff --git a/tests/App/security_4.yml b/tests/App/security_4.yml deleted file mode 100644 index 142c7ed3..00000000 --- a/tests/App/security_4.yml +++ /dev/null @@ -1,6 +0,0 @@ -security: - encoders: - # in_memory users - Symfony\Component\Security\Core\User\User: plaintext - # User entity - Liip\Acme\Tests\App\Entity\User: plaintext diff --git a/tests/App/session_4.yml b/tests/App/session_4.yml deleted file mode 100644 index 19258079..00000000 --- a/tests/App/session_4.yml +++ /dev/null @@ -1,6 +0,0 @@ -imports: - - session.yml - -framework: - session: - storage_id: session.storage.mock_file