function KernelTestBaseTest::testSetUpBeforeClass

Tests set up before class.

@legacy-covers ::setUpBeforeClass

File

core/tests/Drupal/KernelTests/KernelTestBaseTest.php, line 34

Class

KernelTestBaseTest
Tests Drupal\KernelTests\KernelTestBase.

Namespace

Drupal\KernelTests

Code

public function testSetUpBeforeClass() : void {
  // Note: PHPUnit automatically restores the original working directory.
  $this->assertSame(realpath(__DIR__ . '/../../../../'), getcwd());
}

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