From e46425f759f5d4435e0e83bcc88b6738c0f102a8 Mon Sep 17 00:00:00 2001 From: the_undefined Date: Fri, 18 Apr 2008 11:25:03 +0000 Subject: [PATCH] Fixed bad test case git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6696 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/router.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/router.test.php b/cake/tests/cases/libs/router.test.php index 4c0fb7483..26a0d5100 100644 --- a/cake/tests/cases/libs/router.test.php +++ b/cake/tests/cases/libs/router.test.php @@ -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');