Skip to content

Commit 3672ce9

Browse files
committed
docs: add comments
1 parent 9050b8a commit 3672ce9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/system/Autoloader/FileLocatorTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function setUp(): void
5353

5454
public function testLocateFileWorksWithLegacyStructure()
5555
{
56-
$file = 'Controllers/Home';
56+
$file = 'Controllers/Home'; // not namespaced
5757

5858
$expected = APPPATH . 'Controllers/Home.php';
5959

@@ -62,14 +62,14 @@ public function testLocateFileWorksWithLegacyStructure()
6262

6363
public function testLocateFileWithLegacyStructureNotFound()
6464
{
65-
$file = 'Unknown';
65+
$file = 'Unknown'; // not namespaced
6666

6767
$this->assertFalse($this->locator->locateFile($file));
6868
}
6969

7070
public function testLocateFileWorksInAppDirectory()
7171
{
72-
$file = 'welcome_message';
72+
$file = 'welcome_message'; // not namespaced
7373

7474
$expected = APPPATH . 'Views/welcome_message.php';
7575

@@ -78,7 +78,7 @@ public function testLocateFileWorksInAppDirectory()
7878

7979
public function testLocateFileWorksInAppDirectoryWithoutFolder()
8080
{
81-
$file = 'Common';
81+
$file = 'Common'; // not namespaced
8282

8383
$expected = APPPATH . 'Common.php';
8484

@@ -87,7 +87,7 @@ public function testLocateFileWorksInAppDirectoryWithoutFolder()
8787

8888
public function testLocateFileWorksInNestedAppDirectory()
8989
{
90-
$file = 'Controllers/Home';
90+
$file = 'Controllers/Home'; // not namespaced
9191

9292
$expected = APPPATH . 'Controllers/Home.php';
9393

@@ -105,7 +105,7 @@ public function testLocateFileReplacesFolderName()
105105

106106
public function testLocateFileReplacesFolderNameLegacy()
107107
{
108-
$file = 'Views/welcome_message.php';
108+
$file = 'Views/welcome_message.php'; // not namespaced
109109

110110
$expected = APPPATH . 'Views/welcome_message.php';
111111

0 commit comments

Comments
 (0)