From 71b62276d31d0a3d90eac9d2008db90d5f918959 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 24 Feb 2012 22:55:48 +0100 Subject: [PATCH] fixed a test --- .../Tests/Routing/RedirectableUrlMatcherTest.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Routing/RedirectableUrlMatcherTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Routing/RedirectableUrlMatcherTest.php index 55c0125ed7..2b669bbd15 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Routing/RedirectableUrlMatcherTest.php +++ b/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') ); } -} \ No newline at end of file +}