diff --git a/plugins/bc-installer/tests/TestCase/BcInstallerPluginTest.php b/plugins/bc-installer/tests/TestCase/BcInstallerPluginTest.php index 80c3f9f935..c8b371926a 100644 --- a/plugins/bc-installer/tests/TestCase/BcInstallerPluginTest.php +++ b/plugins/bc-installer/tests/TestCase/BcInstallerPluginTest.php @@ -47,6 +47,11 @@ public function test_routes() $this->BcInstallerPlugin->routes($routes); $result = Router::parseRequest($this->getRequest('/install')); $this->assertEquals('Installations', $result['controller']); + + $routes = Router::createRouteBuilder('/'); + $this->BcInstallerPlugin->routes($routes); + $result = Router::parseRequest($this->getRequest('/')); + $this->assertEquals('Installations', $result['controller']); Configure::write('BcEnv.isInstalled', true); }