diff --git a/src/bundle/Resources/config/services/components.yaml b/src/bundle/Resources/config/services/components.yaml index 47549a3d3d..6de3bd5d79 100644 --- a/src/bundle/Resources/config/services/components.yaml +++ b/src/bundle/Resources/config/services/components.yaml @@ -1,6 +1,6 @@ imports: - - { resource: ../services/components/content/edit.yaml } - - { resource: ../services/components/content_type/edit.yaml } + - { resource: components/content/edit.yaml } + - { resource: components/content_type/edit.yaml } services: _defaults: diff --git a/tests/integration/AdminUiIbexaTestKernel.php b/tests/integration/AdminUiIbexaTestKernel.php index 54b6461411..4ec7741667 100644 --- a/tests/integration/AdminUiIbexaTestKernel.php +++ b/tests/integration/AdminUiIbexaTestKernel.php @@ -21,7 +21,6 @@ use Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface; use Swift_Mailer; use Symfony\Component\Config\Loader\LoaderInterface; -use Symfony\Component\Config\Resource\FileResource; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer; use Symfony\WebpackEncoreBundle\Asset\EntrypointLookupCollection; @@ -58,21 +57,9 @@ public function registerContainerConfiguration(LoaderInterface $loader): void $loader->load(static function (ContainerBuilder $container): void { self::configureIbexaDXPBundles($container); self::configureThirdPartyBundles($container); - - self::loadRouting($container, __DIR__ . '/Resources/routing.yaml'); }); } - private static function loadRouting(ContainerBuilder $container, string $filePath): void - { - $container->loadFromExtension('framework', [ - 'router' => [ - 'resource' => $filePath, - ], - ]); - $container->addResource(new FileResource($filePath)); - } - private static function configureIbexaDXPBundles(ContainerBuilder $container): void { $container->setParameter('form.type_extension.csrf.enabled', false); diff --git a/tests/integration/Resources/routing.yaml b/tests/integration/Resources/routing.yaml deleted file mode 100644 index 809eb1bcd5..0000000000 --- a/tests/integration/Resources/routing.yaml +++ /dev/null @@ -1,2 +0,0 @@ -ibexa.user: - resource: '@IbexaUserBundle/Resources/config/routing.yaml'