You are here

public static function KernelTestBase::setUpBeforeClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::setUpBeforeClass()

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 197
Contains \Drupal\KernelTests\KernelTestBase.

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

public static function setUpBeforeClass() {
  parent::setUpBeforeClass();

  // Change the current dir to DRUPAL_ROOT.
  chdir(static::getDrupalRoot());
}