mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removing unnecessary key.
This commit is contained in:
parent
9a4e78af82
commit
264cdb78c0
2 changed files with 1 additions and 2 deletions
|
@ -427,7 +427,6 @@ class Router {
|
|||
$out = array(
|
||||
'pass' => array(),
|
||||
'named' => array(),
|
||||
'controller' => null,
|
||||
);
|
||||
$r = $ext = null;
|
||||
|
||||
|
|
|
@ -516,7 +516,7 @@ class RouterTest extends CakeTestCase {
|
|||
));
|
||||
Router::defaults(false);
|
||||
$result = Router::parse('/foo/bar');
|
||||
$expected = array('pass' => array(), 'named' => array(), 'controller' => null);
|
||||
$expected = array('pass' => array(), 'named' => array());
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue