File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -503,9 +503,9 @@ public function testSetBaseURL()
503
503
$ this ->assertEquals ($ expectedUrl , Utils::getSelfURL ());
504
504
505
505
Utils::setBaseURL ("http://anothersp.example.com:81/example2/ " );
506
- $ expectedUrlNQ2 = 'http://anothersp.example.com:81/example2/route.php ' ;
507
- $ expectedRoutedUrlNQ2 = 'http://anothersp.example.com:81/example2/route.php ' ;
508
- $ expectedUrl2 = 'http://anothersp.example.com:81/example2/route.php?x=test ' ;
506
+ $ expectedUrlNQ2 = 'http://anothersp.example.com:81/example2/example1/ route.php ' ;
507
+ $ expectedRoutedUrlNQ2 = 'http://anothersp.example.com:81/example2/example1/ route.php ' ;
508
+ $ expectedUrl2 = 'http://anothersp.example.com:81/example2/example1/ route.php?x=test ' ;
509
509
510
510
$ this ->assertEquals ('http ' , Utils::getSelfProtocol ());
511
511
$ this ->assertEquals ('anothersp.example.com ' , Utils::getSelfHost ());
@@ -517,7 +517,7 @@ public function testSetBaseURL()
517
517
$ this ->assertEquals ($ expectedUrl2 , Utils::getSelfURL ());
518
518
519
519
$ _SERVER ['PATH_INFO ' ] = '/test ' ;
520
- $ expectedUrlNQ2 = 'http://anothersp.example.com:81/example2/route.php/test ' ;
520
+ $ expectedUrlNQ2 = 'http://anothersp.example.com:81/example2/example1/ route.php/test ' ;
521
521
522
522
$ this ->assertEquals ($ expectedUrlNQ2 , Utils::getSelfURLNoQuery ());
523
523
$ this ->assertEquals ($ expectedRoutedUrlNQ2 , Utils::getSelfRoutedURLNoQuery ());
You can’t perform that action at this time.
0 commit comments