mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix unit tests
This commit is contained in:
@@ -7,6 +7,7 @@ use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Core\PhraseaEvents;
|
||||
use Alchemy\Phrasea\Authentication\Context;
|
||||
use Alchemy\Phrasea\Model\Entities\Task;
|
||||
use Alchemy\Phrasea\Model\Entities\LazaretSession;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Guzzle\Common\Exception\GuzzleException;
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
@@ -1926,7 +1927,7 @@ abstract class ApiTestCase extends \PhraseanetWebTestCase
|
||||
|
||||
protected function getQuarantineItem()
|
||||
{
|
||||
$lazaretSession = new \Alchemy\Phrasea\Model\Entities\LazaretSession();
|
||||
$lazaretSession = new LazaretSession();
|
||||
self::$DI['app']['EM']->persist($lazaretSession);
|
||||
|
||||
$quarantineItem = null;
|
||||
|
Reference in New Issue
Block a user