public function RedirectableUrlMatcherTest::testNoSchemaRedirectIfOnOfMultipleSchemesMatches in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/Matcher/RedirectableUrlMatcherTest.php \Symfony\Component\Routing\Tests\Matcher\RedirectableUrlMatcherTest::testNoSchemaRedirectIfOnOfMultipleSchemesMatches()
File
- vendor/
symfony/ routing/ Tests/ Matcher/ RedirectableUrlMatcherTest.php, line 59
Class
Namespace
Symfony\Component\Routing\Tests\MatcherCode
public function testNoSchemaRedirectIfOnOfMultipleSchemesMatches() {
$coll = new RouteCollection();
$coll
->add('foo', new Route('/foo', array(), array(), array(), '', array(
'https',
'http',
)));
$matcher = $this
->getMockForAbstractClass('Symfony\\Component\\Routing\\Matcher\\RedirectableUrlMatcher', array(
$coll,
new RequestContext(),
));
$matcher
->expects($this
->never())
->method('redirect');
$matcher
->match('/foo');
}