diff --git a/tests/system/Router/RouterTest.php b/tests/system/Router/RouterTest.php index b1bab84fe816..48ec17e4e3c2 100644 --- a/tests/system/Router/RouterTest.php +++ b/tests/system/Router/RouterTest.php @@ -167,11 +167,11 @@ public function testAutoRouteFindsControllerWithSubfolder() { $router = new Router($this->collection); - mkdir(APPPATH.'Controllers/subfolder'); + mkdir(APPPATH.'Controllers/Subfolder'); $router->autoRoute('subfolder/myController/someMethod'); - rmdir(APPPATH.'Controllers/subfolder'); + rmdir(APPPATH.'Controllers/Subfolder'); $this->assertEquals('MyController', $router->controllerName()); $this->assertEquals('someMethod', $router->methodName());