aboutsummaryrefslogtreecommitdiffstats
path: root/tests/settings/controller/CertificateControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/settings/controller/CertificateControllerTest.php')
-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
]