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( $out = array(
'pass' => array(), 'pass' => array(),
'named' => array(), 'named' => array(),
'controller' => null,
); );
$r = $ext = null; $r = $ext = null;

View file

@ -516,7 +516,7 @@ class RouterTest extends CakeTestCase {
)); ));
Router::defaults(false); Router::defaults(false);
$result = Router::parse('/foo/bar'); $result = Router::parse('/foo/bar');
$expected = array('pass' => array(), 'named' => array(), 'controller' => null); $expected = array('pass' => array(), 'named' => array());
$this->assertEqual($result, $expected); $this->assertEqual($result, $expected);
} }