From 7e242f81af8e3478bd6646e553fde73e6194bbaf Mon Sep 17 00:00:00 2001 From: aynsix Date: Wed, 8 Apr 2020 17:57:57 +0300 Subject: [PATCH] fix test --- tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php b/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php index b79b50c591..5f94dbdb87 100644 --- a/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php +++ b/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php @@ -115,7 +115,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, $dataPath, $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $template, $this->anything()); + ->with($email, $password, $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $serverName, ['subdefs' => $dataPath], $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $template, $this->anything()); $structureTemplate = self::$DI['cli']['phraseanet.structure-template'];