Skip to content
Permalink
Browse files

Test added for previous fix in CakeRoute.php. Refs #2797.

  • Loading branch information...
sam-at-github committed Feb 9, 2014
1 parent a9059d4 commit f3cd0fc8082ea43754483b6a47a2a1597f03f12b
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
@@ -308,6 +308,11 @@ public function testMatchBasic() {
$result = $route->match($url);
$expected = '/admin/subscriptions/edit_admin_e/1';
$this->assertEquals($expected, $result);
$url = array('controller' => 'subscribe', 'admin' => true, 'action' => 'admin_edit', 1);
$result = $route->match($url);
$expected = '/admin/subscriptions/edit/1';
$this->assertEquals($expected, $result);
}
/**

0 comments on commit f3cd0fc

Please sign in to comment.
You can’t perform that action at this time.