public static function KernelTestBase::setUpBeforeClass in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::setUpBeforeClass()
1 call to KernelTestBase::setUpBeforeClass()
- BlockRebuildTest::setUpBeforeClass in core/
modules/ block/ tests/ src/ Kernel/ BlockRebuildTest.php
1 method overrides KernelTestBase::setUpBeforeClass()
- BlockRebuildTest::setUpBeforeClass in core/
modules/ block/ tests/ src/ Kernel/ BlockRebuildTest.php
File
- core/
tests/ Drupal/ KernelTests/ KernelTestBase.php, line 227
Class
- KernelTestBase
- Base class for functional integration tests.
Namespace
Drupal\KernelTestsCode
public static function setUpBeforeClass() {
parent::setUpBeforeClass();
// Change the current dir to DRUPAL_ROOT.
chdir(static::getDrupalRoot());
}