Skip to content

Commit e05c0b7

Browse files
committed
test: rename test method names
1 parent 3672ce9 commit e05c0b7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/system/Autoloader/FileLocatorTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function setUp(): void
5151
$this->locator = new FileLocator($autoloader);
5252
}
5353

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

@@ -60,14 +60,14 @@ public function testLocateFileWorksWithLegacyStructure()
6060
$this->assertSame($expected, $this->locator->locateFile($file));
6161
}
6262

63-
public function testLocateFileWithLegacyStructureNotFound()
63+
public function testLocateFileNotNamespacedNotFound()
6464
{
6565
$file = 'Unknown'; // not namespaced
6666

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

70-
public function testLocateFileWorksInAppDirectory()
70+
public function testLocateFileNotNamespacedWorksInAppDirectory()
7171
{
7272
$file = 'welcome_message'; // not namespaced
7373

@@ -76,7 +76,7 @@ public function testLocateFileWorksInAppDirectory()
7676
$this->assertSame($expected, $this->locator->locateFile($file, 'Views'));
7777
}
7878

79-
public function testLocateFileWorksInAppDirectoryWithoutFolder()
79+
public function testLocateFileNotNamespacedWorksInAppDirectoryWithoutFolder()
8080
{
8181
$file = 'Common'; // not namespaced
8282

@@ -85,7 +85,7 @@ public function testLocateFileWorksInAppDirectoryWithoutFolder()
8585
$this->assertSame($expected, $this->locator->locateFile($file));
8686
}
8787

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

0 commit comments

Comments
 (0)