Skip to content

Commit

Permalink
Removing some no longer required method calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 19, 2011
1 parent c15d013 commit 1ee6c1e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cake/tests/cases/libs/cake_request.test.php
Expand Up @@ -1228,13 +1228,9 @@ public function testEnvironmentDetection() {
),
)
);
$backup = $this->__backupEnvironment();

foreach ($environments as $name => $env) {
foreach ($env as $descrip => $settings) {
if ($settings['reload']) {
$this->__reloadEnvironment();
}
$this->__loadEnvironment($settings);

$request = new CakeRequest();
Expand All @@ -1255,7 +1251,6 @@ public function testEnvironmentDetection() {
}
}
}
$this->__loadEnvironment(array_merge(array('reload' => true), $backup));
}

/**
Expand Down

0 comments on commit 1ee6c1e

Please sign in to comment.