Fabien Potencier 13 年 前
コミット
71b62276d3

+ 2 - 8
src/Symfony/Bundle/FrameworkBundle/Tests/Routing/RedirectableUrlMatcherTest.php

@@ -47,15 +47,9 @@ class RedirectableUrlMatcherTest extends \PHPUnit_Framework_TestCase
         $matcher = new RedirectableUrlMatcher($coll, $context = new RequestContext());
 
         $this->assertEquals(array(
-                '_controller' => 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction',
-                'path'        => '/foo',
-                'permanent'   => true,
-                'scheme'      => 'https',
-                'httpPort'    => $context->getHttpPort(),
-                'httpsPort'   => $context->getHttpsPort(),
-                '_route'      => 'foo',
+                '_route' => 'foo',
             ),
             $matcher->match('/foo')
         );
     }
-}
+}