From d42c2cc395115dab1bbc7ee74aa4be254dbcd429 Mon Sep 17 00:00:00 2001 From: David Maicher Date: Sun, 19 Nov 2023 19:17:20 +0100 Subject: [PATCH] remove block-bundle v4 leftovers --- tests/App/AppKernel.php | 5 ----- tests/App/config/config_sonata_block_v4.yaml | 2 -- 2 files changed, 7 deletions(-) delete mode 100644 tests/App/config/config_sonata_block_v4.yaml diff --git a/tests/App/AppKernel.php b/tests/App/AppKernel.php index 0b1157a2b..c0950b09e 100644 --- a/tests/App/AppKernel.php +++ b/tests/App/AppKernel.php @@ -18,7 +18,6 @@ use Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle; use Knp\Bundle\MenuBundle\KnpMenuBundle; use Sonata\AdminBundle\SonataAdminBundle; -use Sonata\BlockBundle\Cache\HttpCacheHandler; use Sonata\BlockBundle\SonataBlockBundle; use Sonata\Doctrine\Bridge\Symfony\SonataDoctrineBundle; use Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle; @@ -89,10 +88,6 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa $loader->load(__DIR__.'/config/config_symfony_v5.yml'); } - if (class_exists(HttpCacheHandler::class)) { - $loader->load($this->getProjectDir().'/config/config_sonata_block_v4.yaml'); - } - $loader->load(__DIR__.'/config/services.php'); } diff --git a/tests/App/config/config_sonata_block_v4.yaml b/tests/App/config/config_sonata_block_v4.yaml deleted file mode 100644 index b83465ccb..000000000 --- a/tests/App/config/config_sonata_block_v4.yaml +++ /dev/null @@ -1,2 +0,0 @@ -sonata_block: - http_cache: false