diff --git a/system/Test/bootstrap.php b/system/Test/bootstrap.php index 83d62eaad9b7..4a217fef12e7 100644 --- a/system/Test/bootstrap.php +++ b/system/Test/bootstrap.php @@ -59,7 +59,5 @@ class_alias('Config\Services', 'CodeIgniter\Services'); // Register the loader with the SPL autoloader stack. $loader->register(); -$routes = \Config\Services::routes(); -$routes->getRoutes('*'); - require_once APPPATH . 'Config/Routes.php'; +$routes->getRoutes('*');