Removing unnecessary key.

This commit is contained in:
Mark Story 2009-12-17 10:13:05 -05:00
parent 9a4e78af82
commit 264cdb78c0
2 changed files with 1 additions and 2 deletions

View file

@ -427,7 +427,6 @@ class Router {
$out = array(
'pass' => array(),
'named' => array(),
'controller' => null,
);
$r = $ext = null;

View file

@ -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);
}