public function UrlGeneratorTest::testAbsoluteSecureUrlWithPort443 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/Generator/UrlGeneratorTest.php \Symfony\Component\Routing\Tests\Generator\UrlGeneratorTest::testAbsoluteSecureUrlWithPort443()
File
- vendor/
symfony/ routing/ Tests/ Generator/ UrlGeneratorTest.php, line 30
Class
Namespace
Symfony\Component\Routing\Tests\GeneratorCode
public function testAbsoluteSecureUrlWithPort443() {
$routes = $this
->getRoutes('test', new Route('/testing'));
$url = $this
->getGenerator($routes, array(
'scheme' => 'https',
))
->generate('test', array(), true);
$this
->assertEquals('https://localhost/app.php/testing', $url);
}