mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Switch purgeDatabase to static method
This commit is contained in:
@@ -217,7 +217,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
|
||||
/**
|
||||
* Purge sqlLite test temporary database by truncate all existing tables
|
||||
*/
|
||||
protected function purgeDatabase()
|
||||
protected static function purgeDatabase()
|
||||
{
|
||||
$purger = new Doctrine\Common\DataFixtures\Purger\ORMPurger();
|
||||
$executor = new Doctrine\Common\DataFixtures\Executor\ORMExecutor(self::$application['EM'], $purger);
|
||||
|
Reference in New Issue
Block a user