public function DrupalSetMessageTest::tearDown in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php \Drupal\KernelTests\Core\Common\DrupalSetMessageTest::tearDown()
Overrides KernelTestBase::tearDown
File
- core/
tests/ Drupal/ KernelTests/ Core/ Common/ DrupalSetMessageTest.php, line 28 - Contains \Drupal\KernelTests\Core\Common\DrupalSetMessageTest.
Class
- DrupalSetMessageTest
- @covers ::drupal_set_message @group PHPUnit
Namespace
Drupal\KernelTests\Core\CommonCode
public function tearDown() {
// Clear session to prevent global leakage.
unset($_SESSION['messages']);
parent::tearDown();
}