KernelTestBase::$preserveGlobalState

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::preserveGlobalState
  2. 10 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::preserveGlobalState

Do not forward any global state from the parent process to the processes that run the actual tests.

Type: preserveGlobalState

See also

self::runTestInSeparateProcess

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 149

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected $preserveGlobalState = FALSE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.