Browse Source

Add missing parent calls

euromark 12 years ago
parent
commit
6699ced02e

+ 2 - 0
tests/TestCase/Database/TypeTest.php

@@ -53,6 +53,8 @@ class TypeTest extends \Cake\TestSuite\TestCase {
  * @return void
  * @return void
  */
  */
 	public function tearDown() {
 	public function tearDown() {
+		parent::tearDown();
+
 		Type::map($this->_originalMap);
 		Type::map($this->_originalMap);
 	}
 	}
 
 

+ 2 - 0
tests/TestCase/Model/Behavior/CounterCacheBehaviorTest.php

@@ -76,6 +76,8 @@ class CounterCacheBehaviorTest extends TestCase {
  * @return void
  * @return void
  */
  */
 	public function tearDown() {
 	public function tearDown() {
+		parent::tearDown();
+
 		unset($this->user, $this->post);
 		unset($this->user, $this->post);
 		TableRegistry::clear();
 		TableRegistry::clear();
 	}
 	}

+ 2 - 0
tests/TestCase/ORM/QueryRegressionTest.php

@@ -38,6 +38,8 @@ class QueryRegressionTest extends TestCase {
  * @return void
  * @return void
  */
  */
 	public function tearDown() {
 	public function tearDown() {
+		parent::tearDown();
+
 		TableRegistry::clear();
 		TableRegistry::clear();
 	}
 	}
 
 

+ 2 - 0
tests/TestCase/Routing/Filter/AssetDispatcherTest.php

@@ -29,6 +29,8 @@ class AssetDispatcherTest extends TestCase {
  * @return void
  * @return void
  */
  */
 	public function tearDown() {
 	public function tearDown() {
+		parent::tearDown();
+
 		Configure::write('Dispatcher.filters', array());
 		Configure::write('Dispatcher.filters', array());
 	}
 	}
 
 

+ 2 - 0
tests/TestCase/Utility/ViewVarsTraitTest.php

@@ -28,6 +28,8 @@ class ViewVarsTraitTest extends TestCase {
  * @return void
  * @return void
  */
  */
 	public function setUp() {
 	public function setUp() {
+		parent::setUp();
+
 		$this->subject = $this->getObjectForTrait('Cake\Utility\ViewVarsTrait');
 		$this->subject = $this->getObjectForTrait('Cake\Utility\ViewVarsTrait');
 	}
 	}