Add getApplication() method PhraseanetTestCase.

This commit is contained in:
Benoît Burnichon
2015-07-01 16:32:24 +02:00
parent a9160d62f6
commit 4cdca486d8
38 changed files with 72 additions and 75 deletions

View File

@@ -386,7 +386,7 @@ class ManagerTest extends \PhraseanetAuthenticatedWebTestCase
$file->addAttribute(new Metadata($monoData));
$file->addAttribute(new Metadata($multiData));
$application = self::$DI['app'];
$application = $this->getApplication();
$postProcess = function ($element, $visa, $code) use ($application) {
$this->assertInstanceOf('\\Alchemy\Phrasea\Model\Entities\\LazaretFile', $element);