aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/php/vendor/symfony/routing/Tests/DependencyInjection/RoutingResolverPassTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'assets/php/vendor/symfony/routing/Tests/DependencyInjection/RoutingResolverPassTest.php')
-rwxr-xr-xassets/php/vendor/symfony/routing/Tests/DependencyInjection/RoutingResolverPassTest.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/assets/php/vendor/symfony/routing/Tests/DependencyInjection/RoutingResolverPassTest.php b/assets/php/vendor/symfony/routing/Tests/DependencyInjection/RoutingResolverPassTest.php
deleted file mode 100755
index 97a34c9..0000000
--- a/assets/php/vendor/symfony/routing/Tests/DependencyInjection/RoutingResolverPassTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Routing\Tests\DependencyInjection;
-
-use PHPUnit\Framework\TestCase;
-use Symfony\Component\Config\Loader\LoaderResolver;
-use Symfony\Component\DependencyInjection\ContainerBuilder;
-use Symfony\Component\DependencyInjection\Reference;
-use Symfony\Component\Routing\DependencyInjection\RoutingResolverPass;
-
-class RoutingResolverPassTest extends TestCase
-{
- public function testProcess()
- {
- $container = new ContainerBuilder();
- $container->register('routing.resolver', LoaderResolver::class);
- $container->register('loader1')->addTag('routing.loader');
- $container->register('loader2')->addTag('routing.loader');
-
- (new RoutingResolverPass())->process($container);
-
- $this->assertEquals(
- array(array('addLoader', array(new Reference('loader1'))), array('addLoader', array(new Reference('loader2')))),
- $container->getDefinition('routing.resolver')->getMethodCalls()
- );
- }
-}