function TransportTest::resetMailerDsnConfigOverride
Same name and namespace in other branches
- 11.x core/modules/mailer/tests/src/Kernel/TransportTest.php \Drupal\Tests\mailer\Kernel\TransportTest::resetMailerDsnConfigOverride()
Resets a mailer DSN config override.
Clean up the globals modified by setUpMailerDsnConfigOverride() during a test.
Attributes
#[After]
File
-
core/
modules/ mailer/ tests/ src/ Kernel/ TransportTest.php, line 74
Class
- TransportTest
- Tests the transport factory service.
Namespace
Drupal\Tests\mailer\KernelCode
protected function resetMailerDsnConfigOverride() : void {
$this->setUpMailerDsnConfigOverride('null', 'null');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.