summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-18 18:01:50 -0500
committerGitHub <noreply@github.com>2017-04-18 18:01:50 -0500
commit269600a04f18e025313352d3b2293cc10d3c26fa (patch)
treeea97f5ea1965ea7328ce9a20585a282419e1ecf2 /tests/lib
parent34e0b21f418c7dcc5ab346248873a2ae0ec5ba2b (diff)
parent1c0bffe87f578403b130015f8fee5560cc075b34 (diff)
downloadnextcloud-server-269600a04f18e025313352d3b2293cc10d3c26fa.tar.gz
nextcloud-server-269600a04f18e025313352d3b2293cc10d3c26fa.zip
Merge pull request #4369 from nextcloud/fix-translations
Fix translations
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Encryption/ManagerTest.php4
-rw-r--r--tests/lib/Mail/EMailTemplateTest.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Encryption/ManagerTest.php b/tests/lib/Encryption/ManagerTest.php
index ad7f47e0a3e..ac26d4cb528 100644
--- a/tests/lib/Encryption/ManagerTest.php
+++ b/tests/lib/Encryption/ManagerTest.php
@@ -100,7 +100,7 @@ class ManagerTest extends TestCase {
/**
* @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
- * @expectedExceptionMessage Module with id: unknown does not exist.
+ * @expectedExceptionMessage Module with ID: unknown does not exist.
*/
public function testGetEncryptionModuleUnknown() {
$this->config->expects($this->any())->method('getAppValue')->willReturn(true);
@@ -214,7 +214,7 @@ class ManagerTest extends TestCase {
//
// /**
// * @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
-// * @expectedExceptionMessage Module with id: unknown does not exist.
+// * @expectedExceptionMessage Module with ID: unknown does not exist.
// */
// public function testGetEncryptionModuleUnknown() {
// $config = $this->getMock('\OCP\IConfig');
diff --git a/tests/lib/Mail/EMailTemplateTest.php b/tests/lib/Mail/EMailTemplateTest.php
index 2ba68dbbabb..450c007149c 100644
--- a/tests/lib/Mail/EMailTemplateTest.php
+++ b/tests/lib/Mail/EMailTemplateTest.php
@@ -81,7 +81,7 @@ class EMailTemplateTest extends TestCase {
'Install Client', 'https://nextcloud.com/install/#install-clients'
);
$this->emailTemplate->addFooter(
- 'TestCloud - A safe home for your data<br>This is an automatically generated email, please do not reply.'
+ 'TestCloud - A safe home for your data<br>This is an automatically sent email, please do not reply.'
);
$expectedHTML = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email.html');