mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Update unit tests
This commit is contained in:
@@ -11,7 +11,7 @@ class ValidationParticipantRepositoryTest extends PhraseanetPHPUnitAuthenticated
|
||||
'expires' => new \DateTime('+1 days')
|
||||
));
|
||||
|
||||
$em = self::$core->getEntityManager();
|
||||
$em = self::$application['EM'];
|
||||
$repo = $em->getRepository('\Entities\ValidationParticipant');
|
||||
/* @var $repo \Repositories\ValidationParticipantRepository */
|
||||
$expireDate = new \DateTime('+2 days');
|
||||
|
Reference in New Issue
Block a user