You are here

public function KernelTestBaseTest::testSetUpBeforeClass in Drupal 8

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

@covers ::setUpBeforeClass

File

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

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());
}