Skip to content

Commit 027e9e6

Browse files
committed
test: fix incorrect config
The test is when BaseURL does not have `index.php`, so $config->indexPage should be empty string.
1 parent 935a529 commit 027e9e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/HTTP/URITest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ public function testBasedNoIndex()
870870

871871
$config = new App();
872872
$config->baseURL = 'http://example.com/ci/v4/';
873-
$config->indexPage = 'index.php';
873+
$config->indexPage = '';
874874
Factories::injectMock('config', 'App', $config);
875875

876876
$request = Services::request($config);

0 commit comments

Comments
 (0)