Skip to content

Commit

Permalink
test: fix failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 20, 2022
1 parent 7d3cc1d commit 5c2995c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace CodeIgniter\Commands\Utilities\Routes;

use CodeIgniter\Test\CIUnitTestCase;
use Config\Services;

/**
* @internal
Expand All @@ -20,6 +21,9 @@ final class FilterCollectorTest extends CIUnitTestCase
{
public function testGet()
{
$routes = Services::routes();
$routes->resetRoutes();

$collector = new FilterCollector();

$filters = $collector->get('get', '/');
Expand Down

0 comments on commit 5c2995c

Please sign in to comment.