Multiple ORMs for all database

This commit is contained in:
Nicolas Le Goff
2014-10-16 20:00:27 +02:00
parent 007d83fe57
commit 9a3e92ed9c
252 changed files with 2901 additions and 2417 deletions

View File

@@ -1,11 +1,11 @@
<?php
class ValidationParticipantRepositoryTest extends \PhraseanetAuthenticatedTestCase
class ValidationParticipantRepositoryTest extends \PhraseanetTestCase
{
public function testFindNotConfirmedAndNotRemindedParticipants()
{
$em = self::$DI['app']['EM'];
$em = self::$DI['app']['orm.em'];
$repo = $em->getRepository('Phraseanet:ValidationParticipant');
/* @var $repo Alchemy\Phrasea\Model\Repositories\ValidationParticipantRepository */
$expireDate = new \DateTime('+8 days');