diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-05-27 10:37:12 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-05-27 21:00:02 +0200 |
commit | 5549641f1f977ab2b105b8f9d7b8c6829c0e6d02 (patch) | |
tree | d2aed27bfc9ea13b29be2c9688f68b5e8763c8d0 /tests/lib/encryption | |
parent | 3de945d13da0016cd8c602867ff18a33c2534418 (diff) | |
download | nextcloud-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.php | 6 |
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() { |