File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Routing/Tests/Generator Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -647,17 +647,17 @@ public function testFragmentsCanBeAppendedToUrls()
647
647
{
648
648
$ routes = $ this ->getRoutes ('test ' , new Route ('/testing ' ));
649
649
650
- $ url = $ this ->getGenerator ($ routes )->generate ('test ' , array ('_fragment ' => 'frag ment ' ), true );
650
+ $ url = $ this ->getGenerator ($ routes )->generate ('test ' , array ('_fragment ' => 'frag ment ' ), UrlGeneratorInterface:: ABSOLUTE_PATH );
651
651
$ this ->assertEquals ('/app.php/testing#frag%20ment ' , $ url );
652
652
653
- $ url = $ this ->getGenerator ($ routes )->generate ('test ' , array ('_fragment ' => '0 ' ), true );
653
+ $ url = $ this ->getGenerator ($ routes )->generate ('test ' , array ('_fragment ' => '0 ' ), UrlGeneratorInterface:: ABSOLUTE_PATH );
654
654
$ this ->assertEquals ('/app.php/testing#0 ' , $ url );
655
655
}
656
656
657
657
public function testFragmentsDoNotEscapeValidCharacters ()
658
658
{
659
659
$ routes = $ this ->getRoutes ('test ' , new Route ('/testing ' ));
660
- $ url = $ this ->getGenerator ($ routes )->generate ('test ' , array ('_fragment ' => '?/ ' ), true );
660
+ $ url = $ this ->getGenerator ($ routes )->generate ('test ' , array ('_fragment ' => '?/ ' ), UrlGeneratorInterface:: ABSOLUTE_PATH );
661
661
662
662
$ this ->assertEquals ('/app.php/testing#?/ ' , $ url );
663
663
}
You can’t perform that action at this time.
0 commit comments