Skip to content

Commit

Permalink
Revising router test for ucfirst subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Jul 8, 2016
1 parent e928bde commit 18d80f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system/Router/RouterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 18d80f9

Please sign in to comment.