You are here

private function MandrillTestCase::getMessageTestData in Mandrill 8

Gets message data used in tests.

Return value

array

1 call to MandrillTestCase::getMessageTestData()
MandrillTestCase::testSendMessage in tests/src/Functional/MandrillTestCase.php
Tests sending a message to multiple recipients.

File

tests/src/Functional/MandrillTestCase.php, line 103
Contains \Drupal\mandrill\Tests\MandrillTestCase.

Class

MandrillTestCase
Test core Mandrill functionality.

Namespace

Drupal\mandrill\Tests

Code

private function getMessageTestData() {
  return [
    'id' => 1,
    'module' => NULL,
    'body' => '<p>Mail content</p>',
    'subject' => 'Mail Subject',
    'from_email' => 'sender@example.com',
    'from_name' => 'Test Sender',
  ];
}