mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
test: fix incorrect config
The test is when BaseURL does not have `index.php`, so $config->indexPage should be empty string.
This commit is contained in:
parent
935a529092
commit
027e9e68b6
@ -870,7 +870,7 @@ final class URITest extends CIUnitTestCase
|
||||
|
||||
$config = new App();
|
||||
$config->baseURL = 'http://example.com/ci/v4/';
|
||||
$config->indexPage = 'index.php';
|
||||
$config->indexPage = '';
|
||||
Factories::injectMock('config', 'App', $config);
|
||||
|
||||
$request = Services::request($config);
|
||||
|
Loading…
x
Reference in New Issue
Block a user