protected function ContactEmailsTestBase::setSiteMail in Contact Emails 8
Set the site email.
2 calls to ContactEmailsTestBase::setSiteMail()
- ContactEmailsRecipientTest::testSendToDefault in src/
Tests/ ContactEmailsRecipientTest.php - Test default functionality to email address.
- ContactEmailsReplyToTest::testReplyToDefault in src/
Tests/ ContactEmailsReplyToTest.php - Test default functionality to email address.
File
- src/
ContactEmailsTestBase.php, line 67
Class
- ContactEmailsTestBase
- Base class for contact emails tests.
Namespace
Drupal\contact_emailsCode
protected function setSiteMail() {
$settings['config']['system.site']['mail'] = (object) [
'value' => 'site-default-mail@test.com',
'required' => TRUE,
];
$this
->writeSettings($settings);
}