Remove extra cache clear statement in tests.

This commit is contained in:
Austen McDonald
2016-05-21 13:46:01 -07:00
parent 8251e22784
commit 78695eb52d
-3
View File
@@ -50,9 +50,6 @@ abstract class ModelTestCase extends \PHPUnit_Extensions_Database_TestCase
$this->connection = $this->createDefaultDBConnection(self::$pdo, getenv('DB_NAME'));
}
// It is important to clear the cache of the entity manager every time a new test runs!
self::$em->clear();
return $this->connection;
}