Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing tests that started failing because of removal of short routes …

…on reverse routing.
  • Loading branch information...
commit 07efd76b4272ca3cf02817d794d973257d490760 1 parent bdd8811
@markstory markstory authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/router.test.php
View
4 cake/tests/cases/libs/router.test.php
@@ -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);
}
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.