protected function SwiftMailerTestBase::enablePlain in Swift Mailer 8.2
Enables Plain text emails.
2 calls to SwiftMailerTestBase::enablePlain()
- RealMailTest::testContact in tests/
src/ Functional/ RealMailTest.php - Tests contact form messages.
- RealMailTest::testUser in tests/
src/ Functional/ RealMailTest.php - Tests user account messages.
File
- tests/
src/ Functional/ SwiftMailerTestBase.php, line 75
Class
- SwiftMailerTestBase
- Base class for swiftmailer web tests.
Namespace
Drupal\Tests\swiftmailer\FunctionalCode
protected function enablePlain() {
$this
->config('swiftmailer.message')
->set('content_type', SWIFTMAILER_FORMAT_PLAIN)
->save();
}