protected function QueueMailFunctionalTest::getMessageParams in Queue Mail 8
Prepares parameters of test mails.
3 calls to QueueMailFunctionalTest::getMessageParams()
- QueueMailFunctionalTest::testCancelMessage in tests/
src/ Functional/ QueueMailFunctionalTest.php - Test that message sending may be canceled.
- QueueMailFunctionalTest::testFailMessage in tests/
src/ Functional/ QueueMailFunctionalTest.php - Test that message sending may be failed.
- QueueMailFunctionalTest::testSkippedEmail in tests/
src/ Functional/ QueueMailFunctionalTest.php - Test that messages are not queued if the the "send" flag is FALSE.
File
- tests/
src/ Functional/ QueueMailFunctionalTest.php, line 49
Class
- QueueMailFunctionalTest
- Tests queue mail functionality.
Namespace
Drupal\Tests\queue_mail\FunctionalCode
protected function getMessageParams() {
return [
'content' => $this
->randomMachineName(),
];
}