function UpdatePathTestBase::runUpdates

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()
  2. 8.9.x core/modules/system/src/Tests/Update/UpdatePathTestBase.php \Drupal\system\Tests\Update\UpdatePathTestBase::runUpdates()
  3. 8.9.x core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()
  4. 11.x core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()

Helper function to run pending database updates.

58 calls to UpdatePathTestBase::runUpdates()
AddPermissionsUpdateTest::testUpdate in core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php
Tests adding 'access help pages' permission.
BatchBidSerialUpdateTest::testUpdate in core/modules/system/tests/src/Functional/Update/BatchBidSerialUpdateTest.php
Tests the change of the {batch} table [bid] field to serial.
BlockContentRemoveConstraint::testRunUpdates in core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
Tests the upgrade path for moderation state reindexing.
BlockContentReusableIndexUpdatePathTest::testRunUpdates in core/modules/block_content/tests/src/Functional/Update/BlockContentReusableIndexUpdatePathTest.php
Tests the upgrade path for Block Content reusable index.
BlockContentUpdateTest::testBlockLibraryPermissionsUpdate in core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php
Tests the permissions are updated for users with "administer blocks".

... See full list

File

core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php, line 205

Class

UpdatePathTestBase
Provides a base class for writing an update test.

Namespace

Drupal\FunctionalTests\Update

Code

protected function runUpdates() {
    $this->doRunUpdates($this->updateUrl);
}

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