mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
More missing parent calls.
This commit is contained in:
parent
802f00b6e3
commit
65e63c51c8
2 changed files with 3 additions and 2 deletions
|
@ -47,6 +47,8 @@ class I18nTest extends CakeTestCase {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
parent::tearDown();
|
||||||
|
|
||||||
Cache::delete('object_map', '_cake_core_');
|
Cache::delete('object_map', '_cake_core_');
|
||||||
App::build();
|
App::build();
|
||||||
CakePlugin::unload();
|
CakePlugin::unload();
|
||||||
|
|
|
@ -125,7 +125,6 @@ class JsHelperTest extends CakeTestCase {
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
$this->_asset = Configure::read('Asset.timestamp');
|
|
||||||
Configure::write('Asset.timestamp', false);
|
Configure::write('Asset.timestamp', false);
|
||||||
|
|
||||||
$controller = null;
|
$controller = null;
|
||||||
|
@ -148,7 +147,7 @@ class JsHelperTest extends CakeTestCase {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
Configure::write('Asset.timestamp', $this->_asset);
|
parent::tearDown();
|
||||||
unset($this->Js);
|
unset($this->Js);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue