diff options
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r-- | apps/files_external/tests/service/dbconfigservicetest.php | 2 | ||||
-rw-r--r-- | apps/files_external/tests/service/storagesservicetest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/service/dbconfigservicetest.php b/apps/files_external/tests/service/dbconfigservicetest.php index 41b5df73613..30c67ac8c93 100644 --- a/apps/files_external/tests/service/dbconfigservicetest.php +++ b/apps/files_external/tests/service/dbconfigservicetest.php @@ -45,7 +45,7 @@ class DBConfigServiceTest extends TestCase { public function setUp() { parent::setUp(); $this->connection = \OC::$server->getDatabaseConnection(); - $this->dbConfig = new DBConfigService($this->connection); + $this->dbConfig = new DBConfigService($this->connection, \OC::$server->getCrypto()); } public function tearDown() { diff --git a/apps/files_external/tests/service/storagesservicetest.php b/apps/files_external/tests/service/storagesservicetest.php index 68671b599bd..3fbe3b755e1 100644 --- a/apps/files_external/tests/service/storagesservicetest.php +++ b/apps/files_external/tests/service/storagesservicetest.php @@ -83,7 +83,7 @@ abstract class StoragesServiceTest extends \Test\TestCase { public function setUp() { parent::setUp(); - $this->dbConfig = new CleaningDBConfig(\OC::$server->getDatabaseConnection()); + $this->dbConfig = new CleaningDBConfig(\OC::$server->getDatabaseConnection(), \OC::$server->getCrypto()); self::$hookCalls = array(); $config = \OC::$server->getConfig(); $this->dataDir = $config->getSystemValue( |