Browse Source

It is safe again to auto-require the default routes in tests

Jose Lorenzo Rodriguez 11 years ago
parent
commit
697dfceb12
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/test_app/TestApp/Config/routes.php

+ 2 - 0
tests/test_app/TestApp/Config/routes.php

@@ -26,3 +26,5 @@ Router::parseExtensions('json');
 Router::connect('/some_alias', array('controller' => 'tests_apps', 'action' => 'some_method'));
 
 Router::connect('/', ['controller' => 'pages', 'action' => 'display', 'home']);
+
+require CAKE . 'Config/routes.php';