Commit 86556ac8 by Qiang Xue

Fixed test break.

parent e5a87af2
...@@ -125,7 +125,8 @@ class SortTest extends TestCase ...@@ -125,7 +125,8 @@ class SortTest extends TestCase
public function testCreateUrl() public function testCreateUrl()
{ {
$manager = new UrlManager([ $manager = new UrlManager([
'baseUrl' => '/index.php', 'baseUrl' => '/',
'ScriptUrl' => '/index.php',
'cache' => null, 'cache' => null,
]); ]);
...@@ -153,7 +154,8 @@ class SortTest extends TestCase ...@@ -153,7 +154,8 @@ class SortTest extends TestCase
{ {
$this->mockApplication(); $this->mockApplication();
$manager = new UrlManager([ $manager = new UrlManager([
'baseUrl' => '/index.php', 'baseUrl' => '/',
'scriptUrl' => '/index.php',
'cache' => null, 'cache' => null,
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment