You are here

protected function DatabaseVersionCheckUpdateTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php \Drupal\Tests\system\Functional\Update\DatabaseVersionCheckUpdateTest::setUp()
  2. 9 core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php \Drupal\Tests\system\Functional\Update\DatabaseVersionCheckUpdateTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php, line 26

Class

DatabaseVersionCheckUpdateTest
Tests that updates fail if the database does not meet the minimum version.

Namespace

Drupal\Tests\system\Functional\Update

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->ensureUpdatesToRun();
}