Browse Source

Correct method names and missing parent calls.

euromark 12 years ago
parent
commit
7b57df5554

+ 2 - 2
lib/Cake/Test/Case/Model/Datasource/CakeSessionTest.php

@@ -124,12 +124,12 @@ class CakeSessionTest extends CakeTestCase {
  *
  * @return void
  */
-	public function teardown() {
+	public function tearDown() {
 		if (TestCakeSession::started()) {
 			session_write_close();
 		}
 		unset($_SESSION);
-		parent::teardown();
+		parent::tearDown();
 	}
 
 /**

+ 1 - 0
lib/Cake/Test/Case/Utility/FolderTest.php

@@ -78,6 +78,7 @@ class FolderTest extends CakeTestCase {
 				rmdir(TMP . $dir);
 			}
 		}
+		parent::tearDown();
 	}
 
 /**