You are here

public function DrupalSetMessageTest::tearDown in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Common

Code

public function tearDown() {

  // Clear session to prevent global leakage.
  unset($_SESSION['messages']);
  parent::tearDown();
}