summaryrefslogtreecommitdiffstats
path: root/tests/Settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-18 17:09:25 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-04-19 15:46:41 -0500
commit16c4755e03f2a79437418a732cb8a6cfb5178cf9 (patch)
treef44d220f06e497be12d9e91c07ec8e32f3c72ec6 /tests/Settings
parent01c9d00e1d6f5c558cade0689283fea953b3f581 (diff)
downloadnextcloud-server-16c4755e03f2a79437418a732cb8a6cfb5178cf9.tar.gz
nextcloud-server-16c4755e03f2a79437418a732cb8a6cfb5178cf9.zip
Rename renderHTML to renderHtml
* fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/Settings')
-rw-r--r--tests/Settings/Mailer/NewUserMailHelperTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Settings/Mailer/NewUserMailHelperTest.php b/tests/Settings/Mailer/NewUserMailHelperTest.php
index 7cf6c635360..fee47625cfd 100644
--- a/tests/Settings/Mailer/NewUserMailHelperTest.php
+++ b/tests/Settings/Mailer/NewUserMailHelperTest.php
@@ -354,7 +354,7 @@ This is an automatically sent email, please do not reply.
EOF;
$result = $this->newUserMailHelper->generateTemplate($user, true);
- $this->assertEquals($expectedHtmlBody, $result->renderHTML());
+ $this->assertEquals($expectedHtmlBody, $result->renderHtml());
$this->assertEquals($expectedTextBody, $result->renderText());
$this->assertSame('OC\Mail\EMailTemplate', get_class($result));
}
@@ -587,7 +587,7 @@ This is an automatically sent email, please do not reply.
EOF;
$result = $this->newUserMailHelper->generateTemplate($user, false);
- $this->assertEquals($expectedHtmlBody, $result->renderHTML());
+ $this->assertEquals($expectedHtmlBody, $result->renderHtml());
$this->assertEquals($expectedTextBody, $result->renderText());
$this->assertSame('OC\Mail\EMailTemplate', get_class($result));
}
@@ -621,7 +621,7 @@ EOF;
$message
->expects($this->at(2))
->method('setHtmlBody')
- ->with($emailTemplate->renderHTML());
+ ->with($emailTemplate->renderHtml());
$message
->expects($this->at(3))
->method('setPlainBody')