Skip to content

Commit

Permalink
Fixed CR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk committed Nov 2, 2023
1 parent 2aee324 commit 64dae5e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/bundle/Resources/config/services/components.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
13 changes: 0 additions & 13 deletions tests/integration/AdminUiIbexaTestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/Resources/routing.yaml

This file was deleted.

0 comments on commit 64dae5e

Please sign in to comment.