Merge pull request #1006 from romainneutron/fix-connection-master

[Ready][3.9] Add reconnectable connection
This commit is contained in:
Nicolas Le Goff
2014-03-04 11:19:44 +01:00
26 changed files with 231 additions and 27 deletions

View File

@@ -84,7 +84,7 @@ class InstallTest extends \PhraseanetTestCase
self::$DI['cli']['phraseanet.installer']->expects($this->once())
->method('install')
->with($email, $password, $this->isInstanceOf('Doctrine\DBAL\Connection'), $serverName, $dataPath, $this->isInstanceOf('Doctrine\DBAL\Connection'), $template, $this->anything());
->with($email, $password, $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $serverName, $dataPath, $this->isInstanceOf('Doctrine\DBAL\Driver\Connection'), $template, $this->anything());
$command = new Install('system:check');
$command->setHelperSet($helperSet);