function KernelTestBaseTest::testSetUpBeforeClass

@covers ::setUpBeforeClass

File

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

Class

KernelTestBaseTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]

Namespace

Drupal\KernelTests

Code

public function testSetUpBeforeClass() {
  // 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.