function KernelTestBaseTest::testSetUpBeforeClass
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSetUpBeforeClass()
- 10 core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSetUpBeforeClass()
- 11.x 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\KernelTestsCode
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.