summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-03 17:07:30 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-03 17:07:30 +0200
commitbf07eb45e29231517303ab47abf571d8aabc14d1 (patch)
tree97333f9013b1b618c86146425b9c2c85e259029d
parent5b52670a954db7f5a9d1fa06e1c93dacddba387c (diff)
downloadnextcloud-server-bf07eb45e29231517303ab47abf571d8aabc14d1.tar.gz
nextcloud-server-bf07eb45e29231517303ab47abf571d8aabc14d1.zip
Fix unit tests
Regression caused by https://github.com/owncloud/core/pull/16721 Failed the unit tests as per https://ci.owncloud.org/job/server-master-linux/database=sqlite,label=SLAVE/1994/testReport/junit/(root)/Test_Encryption_ManagerTest/testGetEncryptionModuleUnknown/: ``` Test\Encryption\ManagerTest::testGetEncryptionModuleUnknown Failed asserting that exception message 'Module with id: unknown does not exist.' contains 'Module with id: unknown does not exists.' ```
-rw-r--r--tests/lib/encryption/managertest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/encryption/managertest.php b/tests/lib/encryption/managertest.php
index 249f63a81d2..9af7bc2c134 100644
--- a/tests/lib/encryption/managertest.php
+++ b/tests/lib/encryption/managertest.php
@@ -81,7 +81,7 @@ class ManagerTest extends TestCase {
/**
* @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
- * @expectedExceptionMessage Module with id: unknown does not exists.
+ * @expectedExceptionMessage Module with id: unknown does not exist.
*/
public function testGetEncryptionModuleUnknown() {
$this->config->expects($this->any())->method('getAppValue')->willReturn(true);
@@ -195,7 +195,7 @@ class ManagerTest extends TestCase {
//
// /**
// * @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
-// * @expectedExceptionMessage Module with id: unknown does not exists.
+// * @expectedExceptionMessage Module with id: unknown does not exist.
// */
// public function testGetEncryptionModuleUnknown() {
// $config = $this->getMock('\OCP\IConfig');