You are here

public function KernelTestBaseTest::testSetUpBeforeClass in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSetUpBeforeClass()
  2. 10 core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSetUpBeforeClass()

@covers ::setUpBeforeClass

File

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

Class

KernelTestBaseTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase

Namespace

Drupal\KernelTests

Code

public function testSetUpBeforeClass() {

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