summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-01-20 20:34:34 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2015-01-26 16:58:52 +0100
commit5ba19ba7fcda12e21fe37e8686218122936c9a68 (patch)
tree12b22f6dd3421bc674be128626ed688f9580b2a8 /tests
parent67da1f7e5ac9fc5472b6041dcfdc81a4b8428379 (diff)
downloadnextcloud-server-5ba19ba7fcda12e21fe37e8686218122936c9a68.tar.gz
nextcloud-server-5ba19ba7fcda12e21fe37e8686218122936c9a68.zip
certificate manager should always use a \OC\Files\View otherwise we will get problems for different primary storages
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/security/certificatemanager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/security/certificatemanager.php b/tests/lib/security/certificatemanager.php
index 83980a6755c..1167fe3d868 100644
--- a/tests/lib/security/certificatemanager.php
+++ b/tests/lib/security/certificatemanager.php
@@ -28,7 +28,7 @@ class CertificateManagerTest extends \Test\TestCase {
\OC\Files\Filesystem::tearDown();
\OC_Util::setupFS($this->username);
- $this->certificateManager = new CertificateManager($this->username);
+ $this->certificateManager = new CertificateManager($this->username, new \OC\Files\View());
}
protected function tearDown() {
@@ -85,4 +85,4 @@ class CertificateManagerTest extends \Test\TestCase {
$this->assertSame('/' . $this->username . '/files_external/rootcerts.crt', $this->certificateManager->getCertificateBundle());
}
-} \ No newline at end of file
+}