mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Cleanup from last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6457 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
766703f15f
commit
0d2c0c1c6c
1 changed files with 0 additions and 2 deletions
|
@ -595,13 +595,11 @@ class RouterTest extends UnitTestCase {
|
|||
$this->assertEqual($result, $expected);
|
||||
|
||||
$this->router->reload();
|
||||
$this->router->testing = true;
|
||||
$this->router->connect('/:controller/:action/*', array(), array('controller' => 'some_controller'));
|
||||
$this->router->connect('/', array('plugin' => 'pages', 'controller' => 'pages', 'action' => 'display'));
|
||||
$result = $this->router->parse('/');
|
||||
$expected = array('pass' => array(), 'named' => array(), 'controller' => 'pages', 'action' => 'display', 'plugin' => 'pages');
|
||||
$this->assertEqual($result, $expected);
|
||||
unset($this->router->testing);
|
||||
}
|
||||
|
||||
function testUuidRoutes() {
|
||||
|
|
Loading…
Add table
Reference in a new issue