mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Move unset to the proper place
This commit is contained in:
parent
727aac1713
commit
0e02af091a
1 changed files with 1 additions and 1 deletions
|
@ -86,6 +86,7 @@ abstract class CakeTestCase extends PHPUnit_Framework_TestCase {
|
|||
$this->fixtureManager->unload($this);
|
||||
unset($this->fixtureManager);
|
||||
unset($this->fixtures);
|
||||
unset($this->db);
|
||||
}
|
||||
|
||||
for ($i = ob_get_level(); $i < $level; ++$i) {
|
||||
|
@ -166,7 +167,6 @@ abstract class CakeTestCase extends PHPUnit_Framework_TestCase {
|
|||
if (isset($_GET['debug']) && $_GET['debug']) {
|
||||
ob_flush();
|
||||
}
|
||||
unset($this->db);
|
||||
unset($this->_configure);
|
||||
unset($this->_pathRestore);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue