diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-04-19 01:09:25 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-19 23:46:41 +0300 |
commit | 16c4755e03f2a79437418a732cb8a6cfb5178cf9 (patch) | |
tree | f44d220f06e497be12d9e91c07ec8e32f3c72ec6 /tests/lib/Mail/EMailTemplateTest.php | |
parent | 01c9d00e1d6f5c558cade0689283fea953b3f581 (diff) |
Rename renderHTML to renderHtml
* fixes #4383
* improves consistency
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib/Mail/EMailTemplateTest.php')
-rw-r--r-- | tests/lib/Mail/EMailTemplateTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/Mail/EMailTemplateTest.php b/tests/lib/Mail/EMailTemplateTest.php index 450c007149c..08af56453ab 100644 --- a/tests/lib/Mail/EMailTemplateTest.php +++ b/tests/lib/Mail/EMailTemplateTest.php @@ -85,7 +85,7 @@ class EMailTemplateTest extends TestCase { ); $expectedHTML = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email.html'); - $this->assertSame($expectedHTML, $this->emailTemplate->renderHTML()); + $this->assertSame($expectedHTML, $this->emailTemplate->renderHtml()); $expectedTXT = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email.txt'); $this->assertSame($expectedTXT, $this->emailTemplate->renderText()); } @@ -124,7 +124,7 @@ class EMailTemplateTest extends TestCase { $this->emailTemplate->addFooter(); $expectedHTML = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email-custom.html'); - $this->assertSame($expectedHTML, $this->emailTemplate->renderHTML()); + $this->assertSame($expectedHTML, $this->emailTemplate->renderHtml()); $expectedTXT = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email-custom.txt'); $this->assertSame($expectedTXT, $this->emailTemplate->renderText()); } @@ -163,7 +163,7 @@ class EMailTemplateTest extends TestCase { $this->emailTemplate->addFooter(); $expectedHTML = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email-single-button.html'); - $this->assertSame($expectedHTML, $this->emailTemplate->renderHTML()); + $this->assertSame($expectedHTML, $this->emailTemplate->renderHtml()); $expectedTXT = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email-single-button.txt'); $this->assertSame($expectedTXT, $this->emailTemplate->renderText()); } @@ -205,7 +205,7 @@ class EMailTemplateTest extends TestCase { $this->emailTemplate->addFooter(); $expectedHTML = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email-custom.html'); - $this->assertSame($expectedHTML, $this->emailTemplate->renderHTML()); + $this->assertSame($expectedHTML, $this->emailTemplate->renderHtml()); $expectedTXT = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email-custom-text-alternative.txt'); $this->assertSame($expectedTXT, $this->emailTemplate->renderText()); } |