protected function UpdatePathTestBase::runUpdates in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()
- 9 core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::runUpdates()
Helper function to run pending database updates.
6 calls to UpdatePathTestBase::runUpdates()
- UpdatePathTestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePathTestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- UpdatePathTestBaseTest::testDatabaseLoaded in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that the database was properly loaded.
- UpdatePathTestBaseTest::testModuleListChange in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that test running environment is updated when module list changes.
- UpdatePathTestBaseTest::testPathAliasProcessing in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that path aliases are not processed during database updates.
- UpdatePathTestBaseTest::testSchemaChecking in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that schema can be excluded from testing.
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);
}