You are here

protected function BatchKernelTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Batch/BatchKernelTest.php \Drupal\KernelTests\Core\Batch\BatchKernelTest::setUp()
  2. 9 core/tests/Drupal/KernelTests/Core/Batch/BatchKernelTest.php \Drupal\KernelTests\Core\Batch\BatchKernelTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Batch/BatchKernelTest.php, line 17

Class

BatchKernelTest
Tests batch functionality.

Namespace

Drupal\KernelTests\Core\Batch

Code

protected function setUp() : void {
  parent::setUp();
  require_once $this->root . '/core/includes/batch.inc';
}