You are here

public function KernelTestBaseTest::testSetUpBeforeClass in Zircon Profile 8

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

@covers ::setUpBeforeClass

File

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

Class

KernelTestBaseTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase @group PHPUnit

Namespace

Drupal\KernelTests

Code

public function testSetUpBeforeClass() {

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