You are here

protected function DependencyMissingTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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';
}