function BatchKernelTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Batch/BatchKernelTest.php \Drupal\KernelTests\Core\Batch\BatchKernelTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Batch/BatchKernelTest.php \Drupal\KernelTests\Core\Batch\BatchKernelTest::setUp()
  3. 11.x 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() {
    parent::setUp();
    require_once $this->root . '/core/includes/batch.inc';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.