You are here

protected function DependencyMissingTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php \Drupal\Tests\system\Functional\UpdateSystem\DependencyMissingTest::setUp()
  2. 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() : void {

  // 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';
}