You are here

protected function KernelTestBaseShutdownTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php \Drupal\KernelTests\KernelTestBaseShutdownTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php, line 31

Class

KernelTestBaseShutdownTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase

Namespace

Drupal\KernelTests

Code

protected function setUp() : void {

  // Initialize static variable prior to testing.
  self::$shutdownCalled = [];
  parent::setUp();
}