Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2017-01-03 00:06:55 +0300
committerbrantje <brantje@gmail.com>2017-01-11 20:09:49 +0300
commit3f4afba34f880fb1e2c5403d3265f2c270c00cd0 (patch)
treebfc64375c08e2847b5fbb8468f6720873a8defbe /tests
parentb05137b93ff7b19a0bbf621648992af1f2ae96f0 (diff)
Fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/controller/VaultControllerTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/controller/VaultControllerTest.php b/tests/unit/controller/VaultControllerTest.php
index 1af88bd8..f94a7464 100644
--- a/tests/unit/controller/VaultControllerTest.php
+++ b/tests/unit/controller/VaultControllerTest.php
@@ -24,6 +24,7 @@
namespace OCA\Passman\Controller;
use OCA\Passman\Service\CredentialService;
+use OCA\Passman\Service\SettingsService;
use OCA\Passman\Service\VaultService;
use PHPUnit_Framework_TestCase;
@@ -46,9 +47,10 @@ class VaultControllerTest extends PHPUnit_Framework_TestCase {
$request = $this->getMockBuilder('OCP\IRequest')->getMock();
$this->vaultService = $this->createMock(VaultService::class);
$this->credentialService = $this->createMock(CredentialService::class);
+ $this->settingsService = $this->createMock(SettingsService::class);
$this->controller = new VaultController(
- 'passman', $request, $this->userId, $this->vaultService, $this->credentialService
+ 'passman', $request, $this->userId, $this->vaultService, $this->credentialService, $this->settingsService
);
}