Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
thangnn committed Dec 17, 2024
1 parent 4db4d49 commit c02ae3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/bc-installer/tests/TestCase/BcInstallerPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c02ae3c

Please sign in to comment.