Skip to content

Commit 444bd67

Browse files
committed
Update CIUnitTestCase configPath
1 parent 8d15f38 commit 444bd67

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

system/Test/CIUnitTestCase.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class CIUnitTestCase extends TestCase
6161
*
6262
* @var string
6363
*/
64-
protected $configPath = '../application/Config';
64+
protected $configPath = '../app/Config';
6565

6666
protected function setUp()
6767
{
@@ -236,6 +236,8 @@ public function assertCloseEnoughString($expected, $actual, string $message = ''
236236
* Loads up an instance of CodeIgniter
237237
* and gets the environment setup.
238238
*
239+
* @todo Use absolute paths
240+
*
239241
* @return mixed
240242
*/
241243
protected function createApplication()
@@ -262,7 +264,7 @@ protected function adjustPaths(Paths $paths)
262264
{
263265
$tests = [
264266
'systemDirectory',
265-
'applicationDirectory',
267+
'appDirectory',
266268
'writableDirectory',
267269
'testsDirectory',
268270
];

0 commit comments

Comments
 (0)