Permalink
Browse files

Adjusted test. Adding to global set of prefixes is no longer as side …

…affect of configuring some arbitrary prefixed route.
  • Loading branch information...
sam-at-github committed Feb 12, 2014
1 parent a8e4c9d commit c822886aa3616078fc9d13e6bb370b32c7fad1dd
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/TestCase/Controller/ControllerTest.php
@@ -799,6 +799,7 @@ public function testInvokeActionBaseMethods() {
* @return void
*/
public function testInvokeActionPrefixProtection() {
+ Configure::write('Routing.prefixes', array('admin'));
Router::reload();
Router::connect('/admin/:controller/:action/*', array('prefix' => 'admin'));

0 comments on commit c822886

Please sign in to comment.