mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
fix test
This commit is contained in:
@@ -36,6 +36,13 @@ class InstallTest extends \PhraseanetTestCase
|
||||
$password = 'sup4ssw0rd';
|
||||
$serverName = 'http://phrasea.io';
|
||||
$dataPath = '/tmp';
|
||||
$storagePaths = [
|
||||
'subdefs' => $dataPath,
|
||||
'download' => $dataPath,
|
||||
'lazaret' => $dataPath,
|
||||
'caption' => $dataPath,
|
||||
'worker_tmp_files' => $dataPath
|
||||
];
|
||||
$template = 'fr-simple';
|
||||
|
||||
$infoDb = Yaml::parse(file_get_contents(__DIR__ . '/../../../../../../resources/hudson/InstallDBs.yml'));
|
||||
@@ -115,7 +122,7 @@ class InstallTest extends \PhraseanetTestCase
|
||||
|
||||
self::$DI['cli']['phraseanet.installer']->expects($this->once())
|
||||
->method('install')
|
||||
->with($email, $password, $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $serverName, ['subdefs' => $dataPath], $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $template, $this->anything());
|
||||
->with($email, $password, $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $serverName, $storagePaths, $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $template, $this->anything());
|
||||
|
||||
$structureTemplate = self::$DI['cli']['phraseanet.structure-template'];
|
||||
|
||||
|
Reference in New Issue
Block a user