function UpdatePathTestBase::runUpdates
Same name in other branches
- 8.9.x core/modules/system/src/Tests/Update/UpdatePathTestBase.php \Drupal\system\Tests\Update\UpdatePathTestBase::runUpdates()
- 8.9.x core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()
- 10 core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()
- 11.x core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()
Helper function to run pending database updates.
45 calls to UpdatePathTestBase::runUpdates()
- ActionConfigTest::testUpdateActionPlugins in core/
modules/ action/ tests/ src/ Functional/ Update/ ActionConfigTest.php - Tests upgrading action settings.
- AdvisoriesUpdatePathTest::testUpdatePath in core/
modules/ system/ tests/ src/ Functional/ SecurityAdvisories/ AdvisoriesUpdatePathTest.php - Tests advisories settings update path.
- BlockNodeTypeVisibilityUpdateTest::testBlock in core/
modules/ block/ tests/ src/ Functional/ Update/ BlockNodeTypeVisibilityUpdateTest.php - Tests that block context mapping is updated properly.
- CKEditor5UpdateAlignmentTest::testUpdateAlignmentButtons in core/
modules/ ckeditor5/ tests/ src/ Functional/ Update/ CKEditor5UpdateAlignmentTest.php - Tests update of individual button that are alignment configuration.
- CKEditor5UpdateImageToolbarItemTest::test in core/
modules/ ckeditor5/ tests/ src/ Functional/ Update/ CKEditor5UpdateImageToolbarItemTest.php - Tests that `uploadImage` toolbar item is updated to `drupalInsertImage`.
File
-
core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php, line 265
Class
- UpdatePathTestBase
- Provides a base class for writing an update test.
Namespace
Drupal\FunctionalTests\UpdateCode
protected function runUpdates() {
if (!$this->zlibInstalled) {
$this->fail('Missing zlib requirement for update tests.');
return FALSE;
}
$this->doRunUpdates($this->updateUrl);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.