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:
nate 2008-02-12 14:16:13 +00:00
parent 766703f15f
commit 0d2c0c1c6c

View file

@ -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() {