PHRAS-3277

This commit is contained in:
aina esokia
2020-12-03 18:09:03 +03:00
parent 36bcd5dad4
commit e38d143dfe
2 changed files with 34 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ class ValidationParticipantRepositoryTest extends \PhraseanetTestCase
$em = self::$DI['app']['orm.em'];
$repo = $em->getRepository('Phraseanet:ValidationParticipant');
/* @var $repo Alchemy\Phrasea\Model\Repositories\ValidationParticipantRepository */
$participants = $repo->findNotConfirmedAndNotRemindedParticipantsByTimeLeftPercent(20, new \DateTime('+7 days'));
$participants = $repo->findNotConfirmedAndNotRemindedParticipantsByTimeLeftPercent(20, new \DateTime());
$this->assertEquals(3, count($participants));
}
}