Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test added for previous fix in CakeRoute.php. Refs #2797.
  • Loading branch information
sgpinkus committed Feb 9, 2014
1 parent a9059d4 commit f3cd0fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit f3cd0fc

Please sign in to comment.