summaryrefslogtreecommitdiffstats
path: root/tests/lib/encryption
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-05-27 10:37:12 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-05-27 21:00:02 +0200
commit5549641f1f977ab2b105b8f9d7b8c6829c0e6d02 (patch)
treed2aed27bfc9ea13b29be2c9688f68b5e8763c8d0 /tests/lib/encryption
parent3de945d13da0016cd8c602867ff18a33c2534418 (diff)
downloadnextcloud-server-5549641f1f977ab2b105b8f9d7b8c6829c0e6d02.tar.gz
nextcloud-server-5549641f1f977ab2b105b8f9d7b8c6829c0e6d02.zip
improve error messages displayed to the user
Diffstat (limited to 'tests/lib/encryption')
-rw-r--r--tests/lib/encryption/managertest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/lib/encryption/managertest.php b/tests/lib/encryption/managertest.php
index faca6474504..3b1e07ffd69 100644
--- a/tests/lib/encryption/managertest.php
+++ b/tests/lib/encryption/managertest.php
@@ -16,11 +16,15 @@ class ManagerTest extends TestCase {
/** @var \PHPUnit_Framework_MockObject_MockObject */
private $logger;
+ /** @var \PHPUnit_Framework_MockObject_MockObject */
+ private $l10n;
+
public function setUp() {
parent::setUp();
$this->config = $this->getMock('\OCP\IConfig');
$this->logger = $this->getMock('\OCP\ILogger');
- $this->manager = new Manager($this->config, $this->logger);
+ $this->l10n = $this->getMock('\OCP\Il10n');
+ $this->manager = new Manager($this->config, $this->logger, $this->l10n);
}
public function testManagerIsDisabled() {