diff options
Diffstat (limited to 'apps/sharebymail')
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 4 | ||||
-rw-r--r-- | apps/sharebymail/tests/ShareByMailProviderTest.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index 761a2600d7c..767bdc86a4a 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -329,7 +329,7 @@ class ShareByMailProvider implements IShareProvider { $message->setSubject($subject); $message->setPlainBody($emailTemplate->renderText()); - $message->setHtmlBody($emailTemplate->renderHTML()); + $message->setHtmlBody($emailTemplate->renderHtml()); $this->mailer->send($message); } @@ -368,7 +368,7 @@ class ShareByMailProvider implements IShareProvider { $message->setTo([$shareWith]); $message->setSubject($subject); $message->setBody($emailTemplate->renderText(), 'text/plain'); - $message->setHtmlBody($emailTemplate->renderHTML()); + $message->setHtmlBody($emailTemplate->renderHtml()); $this->mailer->send($message); } diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 8761f49f0f4..581ca9b1b95 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -824,7 +824,7 @@ class ShareByMailProviderTest extends TestCase { ->with('Text Render'); $template ->expects($this->once()) - ->method('renderHTML') + ->method('renderHtml') ->willReturn('HTML Render'); $message ->expects($this->once()) @@ -939,7 +939,7 @@ class ShareByMailProviderTest extends TestCase { ->with('Text Render'); $template ->expects($this->once()) - ->method('renderHTML') + ->method('renderHtml') ->willReturn('HTML Render'); $message ->expects($this->once()) |