mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add getApplication() method PhraseanetTestCase.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user