Skip to content

Commit

Permalink
More missing parent calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 11, 2012
1 parent 802f00b commit 65e63c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/Test/Case/I18n/I18nTest.php
Expand Up @@ -47,6 +47,8 @@ public function setUp() {
* @return void
*/
public function tearDown() {
parent::tearDown();

Cache::delete('object_map', '_cake_core_');
App::build();
CakePlugin::unload();
Expand Down
3 changes: 1 addition & 2 deletions lib/Cake/Test/Case/View/Helper/JsHelperTest.php
Expand Up @@ -125,7 +125,6 @@ class JsHelperTest extends CakeTestCase {
public function setUp() {
parent::setUp();

$this->_asset = Configure::read('Asset.timestamp');
Configure::write('Asset.timestamp', false);

$controller = null;
Expand All @@ -148,7 +147,7 @@ public function setUp() {
* @return void
*/
public function tearDown() {
Configure::write('Asset.timestamp', $this->_asset);
parent::tearDown();
unset($this->Js);
}

Expand Down

0 comments on commit 65e63c5

Please sign in to comment.