public function DevelMailLogTest::testDevelMailDefaultSettings in Devel 8
Same name and namespace in other branches
- 8.3 tests/src/Kernel/DevelMailLogTest.php \Drupal\Tests\devel\Kernel\DevelMailLogTest::testDevelMailDefaultSettings()
- 8.2 tests/src/Kernel/DevelMailLogTest.php \Drupal\Tests\devel\Kernel\DevelMailLogTest::testDevelMailDefaultSettings()
- 4.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'));
}