Browse Source

Cleaning up tests

Jose Lorenzo Rodriguez 12 years ago
parent
commit
c2d6523187
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tests/TestCase/ORM/AssociationProxyTest.php

+ 10 - 0
tests/TestCase/ORM/AssociationProxyTest.php

@@ -36,6 +36,16 @@ class AssociationProxyTest extends TestCase {
 	];
 
 /**
+ * Teardown
+ *
+ * @return void
+ */
+	public function tearDown() {
+		parent::tearDown();
+		TableRegistry::clear();
+	}
+
+/**
  * Tests that it is possible to get associations as a property
  *
  * @return void