Skip to content
Permalink
Browse files

Remove un-necessary router reset and route creation.

  • Loading branch information...
markstory committed Nov 3, 2012
1 parent 9fa29d2 commit ed78fddbffe05d43b1e42dbfdb183dfefdb7f4a9
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/Cake/Test/TestCase/Routing/RequestActionTraitTest.php
@@ -140,8 +140,6 @@ public function testRequestActionArray() {
'Plugin' => array(CAKE . 'Test/TestApp/Plugin/')
), App::RESET);
Plugin::load(array('TestPlugin'));
Router::reload();
require CAKE . 'Config/routes.php';
$result = $this->object->requestAction(
array('controller' => 'request_action', 'action' => 'test_request_action')
@@ -216,9 +214,6 @@ public function testRequestActionParamParseAndPass() {
* @return void
*/
public function testRequestActionNoPostPassing() {
Router::reload();
require CAKE . 'Config/routes.php';
$_POST = array(
'item' => 'value'
);
@@ -263,9 +258,6 @@ public function testRequestActionWithQueryString() {
* @return void
*/
public function testRequestActionPostWithData() {
Router::reload();
require CAKE . 'Config/routes.php';
$data = array(
'Post' => array('id' => 2)
);

0 comments on commit ed78fdd

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