mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removing some no longer required method calls.
This commit is contained in:
parent
c15d0132f3
commit
1ee6c1ee45
1 changed files with 0 additions and 5 deletions
|
@ -1228,13 +1228,9 @@ class CakeRequestTestCase extends CakeTestCase {
|
|||
),
|
||||
)
|
||||
);
|
||||
$backup = $this->__backupEnvironment();
|
||||
|
||||
foreach ($environments as $name => $env) {
|
||||
foreach ($env as $descrip => $settings) {
|
||||
if ($settings['reload']) {
|
||||
$this->__reloadEnvironment();
|
||||
}
|
||||
$this->__loadEnvironment($settings);
|
||||
|
||||
$request = new CakeRequest();
|
||||
|
@ -1255,7 +1251,6 @@ class CakeRequestTestCase extends CakeTestCase {
|
|||
}
|
||||
}
|
||||
}
|
||||
$this->__loadEnvironment(array_merge(array('reload' => true), $backup));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue