More missing parent calls.

This commit is contained in:
ADmad 2012-08-12 02:28:12 +05:30
parent 802f00b6e3
commit 65e63c51c8
2 changed files with 3 additions and 2 deletions

View file

@ -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();

View file

@ -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);
} }