function DevelMailLogTest::testDevelMailDefaultSettings
Same name in other branches
- 4.x tests/src/Kernel/DevelMailLogTest.php \Drupal\Tests\devel\Kernel\DevelMailLogTest::testDevelMailDefaultSettings()
- 5.x tests/src/Kernel/DevelMailLogTest.php \Drupal\Tests\devel\Kernel\DevelMailLogTest::testDevelMailDefaultSettings()
Tests devel_mail_log default settings.
File
-
tests/
src/ Kernel/ DevelMailLogTest.php, line 87
Class
- DevelMailLogTest
- Tests sending mails with debug interface.
Namespace
Drupal\Tests\devel\KernelCode
public function testDevelMailDefaultSettings() {
$config = \Drupal::config('devel.settings');
$this->assertEquals('temporary://devel-mails', $config->get('debug_mail_directory'));
$this->assertEquals('%to-%subject-%datetime.mail.txt', $config->get('debug_mail_file_format'));
}