fixed a test

This commit is contained in:
Fabien Potencier 2012-02-24 22:55:48 +01:00
parent 3e64d36cbd
commit 71b62276d3

View File

@ -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')
);
}
}
}