You are here

protected function CompatibilityFixTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Update/CompatibilityFixTest.php \Drupal\system\Tests\Update\CompatibilityFixTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/system/src/Tests/Update/CompatibilityFixTest.php, line 19
Contains \Drupal\system\Tests\Update\CompatibilityFixTest.

Class

CompatibilityFixTest
Tests that extensions that are incompatible with the current core version are disabled.

Namespace

Drupal\system\Tests\Update

Code

protected function setUp() {
  parent::setUp();
  require_once \Drupal::root() . '/core/includes/update.inc';
}