We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60188ac commit 9dab01aCopy full SHA for 9dab01a
1 file changed
tests/system/Autoloader/FileLocatorTest.php
@@ -91,6 +91,7 @@ public function testLocateFileNotNamespacedWorksInNestedAppDirectory()
91
92
$expected = APPPATH . 'Controllers/Home.php';
93
94
+ // This works because $file contains `Controllers`.
95
$this->assertSame($expected, $this->locator->locateFile($file, 'Controllers'));
96
}
97
@@ -120,6 +121,7 @@ public function testLocateFileCanFindNamespacedView()
120
121
122
$expected = APPPATH . 'Views/errors/html/error_404.php';
123
124
+ // The namespace `Errors` (APPPATH . 'Views/errors') + the folder (`html`) + `error_404`
125
$this->assertSame($expected, $this->locator->locateFile($file, 'html'));
126
127
0 commit comments