mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fixed bad test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6696 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
54121efb3e
commit
e46425f759
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ class RouterTest extends UnitTestCase {
|
|||
$this->assertEqual($result, $expected);
|
||||
|
||||
$this->router->reload();
|
||||
$this->router->connect('/:controller_action/*', array(), array('controller' => 'some_controller'));
|
||||
$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');
|
||||
|
|
Loading…
Add table
Reference in a new issue