function UpdatePathTestBase::runUpdates
Helper function to run pending database updates.
34 calls to UpdatePathTestBase::runUpdates()
- BlockContentRemoveListingEmptyUpdateTest::testBlockContentPostUpdateRemoveBlockContentListingEmpty in core/
modules/ block_content/ tests/ src/ Functional/ Update/ BlockContentRemoveListingEmptyUpdateTest.php - Tests the upgrade path to remove the empty listing plugin.
- BlockContentStatusInfoUpdatePathTest::testRunUpdates in core/
modules/ block_content/ tests/ src/ Functional/ Update/ BlockContentStatusInfoUpdatePathTest.php - Tests block_content_post_update_remove_block_content_status_info_keys.
- BlockItemsPerPageUpdateTest::testUpdateItemsPerPage in core/
modules/ views/ tests/ src/ Functional/ Update/ BlockItemsPerPageUpdateTest.php - Tests changing an `items_per_page` setting of `none` to NULL.
- BlockWeightUpdateTest::testRunUpdates in core/
modules/ block/ tests/ src/ Functional/ BlockWeightUpdateTest.php - Tests update path for blocks' `weight` property.
- ChangePromotedDefaultTest::testRunUpdates in core/
modules/ node/ tests/ src/ Functional/ Update/ ChangePromotedDefaultTest.php - Tests run updates.
File
-
core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php, line 205
Class
- UpdatePathTestBase
- Provides a base class for writing an update test.
Namespace
Drupal\FunctionalTests\UpdateCode
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.