From c02ae3cc88643e716429ab5e3594068a0204fe7a Mon Sep 17 00:00:00 2001 From: thangnn Date: Tue, 17 Dec 2024 16:00:31 +0700 Subject: [PATCH] modified --- .../bc-installer/tests/TestCase/BcInstallerPluginTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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); }