mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Improve code style
This commit is contained in:
parent
f5bf22e1e3
commit
e56452b2c5
1 changed files with 2 additions and 4 deletions
|
@ -84,8 +84,7 @@ abstract class CakeTestCase extends PHPUnit_Framework_TestCase {
|
|||
$result = parent::run($result);
|
||||
if (!empty($this->fixtureManager)) {
|
||||
$this->fixtureManager->unload($this);
|
||||
unset($this->fixtureManager);
|
||||
unset($this->db);
|
||||
unset($this->fixtureManager, $this->db);
|
||||
}
|
||||
|
||||
for ($i = ob_get_level(); $i < $level; ++$i) {
|
||||
|
@ -166,8 +165,7 @@ abstract class CakeTestCase extends PHPUnit_Framework_TestCase {
|
|||
if (isset($_GET['debug']) && $_GET['debug']) {
|
||||
ob_flush();
|
||||
}
|
||||
unset($this->_configure);
|
||||
unset($this->_pathRestore);
|
||||
unset($this->_configure, $this->_pathRestore);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue