function DependencyMissingTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php \Drupal\Tests\system\Functional\UpdateSystem\DependencyMissingTest::setUp()
  2. 10 core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php \Drupal\Tests\system\Functional\UpdateSystem\DependencyMissingTest::setUp()
  3. 11.x core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php \Drupal\Tests\system\Functional\UpdateSystem\DependencyMissingTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php, line 26

Class

DependencyMissingTest
Tests that missing update dependencies are correctly flagged.

Namespace

Drupal\Tests\system\Functional\UpdateSystem

Code

protected function setUp() {
    // Only install update_test_2.module, even though its updates have a
    // dependency on update_test_3.module.
    parent::setUp();
    require_once $this->root . '/core/includes/update.inc';
}

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