function DatabaseVersionCheckUpdateTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php \Drupal\Tests\system\Functional\Update\DatabaseVersionCheckUpdateTest::setUp()
  2. 10 core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php \Drupal\Tests\system\Functional\Update\DatabaseVersionCheckUpdateTest::setUp()
  3. 11.x 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() {
    parent::setUp();
    $this->ensureUpdatesToRun();
}

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