Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Apr 12, 2022
1 parent fe85b73 commit 39de15d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system/Router/AutoRouterImprovedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ private function createNewAutoRouter(string $httpVerb = 'get'): AutoRouterImprov
return new AutoRouterImproved(
[],
'CodeIgniter\Router\Controllers',
'Home',
'index',
$this->collection->getDefaultController(),
$this->collection->getDefaultMethod(),
true,
$httpVerb
);
Expand Down
7 changes: 7 additions & 0 deletions tests/system/Router/Controllers/Home.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@

class Home extends BaseController
{
public function getIndex()
{
}

public function postIndex()
{
}
}

0 comments on commit 39de15d

Please sign in to comment.