summaryrefslogtreecommitdiffstats
path: root/tests/settings
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-12-22 17:42:28 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-12 12:50:59 +0100
commitc15cab7ed6bf2d3ce9009ca09c7c5f33b252860f (patch)
tree08d3aefd146ce159b23073958f2fb7e96ace4143 /tests/settings
parent0c0829fbc73ce10ea1a951989c20973b6b5faa16 (diff)
downloadnextcloud-server-c15cab7ed6bf2d3ce9009ca09c7c5f33b252860f.tar.gz
nextcloud-server-c15cab7ed6bf2d3ce9009ca09c7c5f33b252860f.zip
Allow admins to add system wide root certificates
Diffstat (limited to 'tests/settings')
-rw-r--r--tests/settings/controller/CertificateControllerTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/settings/controller/CertificateControllerTest.php b/tests/settings/controller/CertificateControllerTest.php
index 023d7753cca..2fdbbb8b0ac 100644
--- a/tests/settings/controller/CertificateControllerTest.php
+++ b/tests/settings/controller/CertificateControllerTest.php
@@ -44,12 +44,15 @@ class CertificateControllerTest extends \Test\TestCase {
private $l10n;
/** @var IAppManager */
private $appManager;
+ /** @var ICertificateManager */
+ private $systemCertificateManager;
public function setUp() {
parent::setUp();
$this->request = $this->getMock('\OCP\IRequest');
$this->certificateManager = $this->getMock('\OCP\ICertificateManager');
+ $this->systemCertificateManager = $this->getMock('\OCP\ICertificateManager');
$this->l10n = $this->getMock('\OCP\IL10N');
$this->appManager = $this->getMock('OCP\App\IAppManager');
@@ -59,6 +62,7 @@ class CertificateControllerTest extends \Test\TestCase {
'settings',
$this->request,
$this->certificateManager,
+ $this->systemCertificateManager,
$this->l10n,
$this->appManager
]