Skip to content

Commit

Permalink
Fixing tests that started failing because of removal of short routes …
Browse files Browse the repository at this point in the history
…on reverse routing.
  • Loading branch information
markstory committed Apr 7, 2010
1 parent bdd8811 commit 07efd76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/tests/cases/libs/router.test.php
Expand Up @@ -741,7 +741,7 @@ function testUrlGenerationPlugins() {
'lang' => 'en',
'controller' => 'shows', 'action' => 'index', 'page' => '1',
));
$expected = '/en/shows/page:1';
$expected = '/en/shows/shows/page:1';
$this->assertEqual($result, $expected);
}

Expand Down Expand Up @@ -1125,7 +1125,7 @@ function testPrefixRoutingAndPlugins() {
Router::parse('/');

$result = Router::url(array('plugin' => 'test_plugin', 'controller' => 'test_plugin', 'action' => 'index'));
$expected = '/admin/test_plugin';
$expected = '/admin/test_plugin/test_plugin';
$this->assertEqual($result, $expected);

Router::reload();
Expand Down

0 comments on commit 07efd76

Please sign in to comment.