protected function MandrillTemplateTestCase::getMessageTestData in Mandrill 8
Gets message data used in tests.
2 calls to MandrillTemplateTestCase::getMessageTestData()
- MandrillTemplateTestCase::testSendTemplatedMessage in modules/
mandrill_template/ tests/ src/ Functional/ MandrillTemplateTestCase.php - Test sending a templated message to multiple recipients.
- MandrillTemplateTestCase::testSendTemplatedMessageInvalidTemplate in modules/
mandrill_template/ tests/ src/ Functional/ MandrillTemplateTestCase.php - Test sending a templated message using an invalid template.
File
- modules/
mandrill_template/ tests/ src/ Functional/ MandrillTemplateTestCase.php, line 112 - Test class and methods for the Mandrill Template module.
Class
- MandrillTemplateTestCase
- Test Mandrill Template functionality.
Namespace
Drupal\mandrill_template\TestsCode
protected function getMessageTestData() {
$message = array(
'id' => 1,
'body' => '<p>Mail content</p>',
'subject' => 'Mail Subject',
'from_email' => 'sender@example.com',
'from_name' => 'Test Sender',
);
return $message;
}