Skip to content

Commit 8967217

Browse files
committed
Re-run Rector
1 parent f171b08 commit 8967217

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/system/Router/RouteCollectionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace CodeIgniter\Router;
1313

1414
use CodeIgniter\Config\Services;
15+
use CodeIgniter\controller;
1516
use CodeIgniter\Exceptions\PageNotFoundException;
1617
use CodeIgniter\Test\CIUnitTestCase;
1718
use Config\Modules;
@@ -237,7 +238,7 @@ public function testAddRecognizesCustomNamespaces()
237238
$routes->add('home', 'controller');
238239

239240
$expects = [
240-
'home' => '\CodeIgniter\controller',
241+
'home' => '\\' . controller::class,
241242
];
242243

243244
$routes = $routes->getRoutes();

0 commit comments

Comments
 (0)