function UpdateSettingsDefaultFetchUrlUpdateTest::setDatabaseDumpFiles

Same name in other branches
  1. 11.x core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php \Drupal\Tests\update\Functional\Update\UpdateSettingsDefaultFetchUrlUpdateTest::setDatabaseDumpFiles()

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php, line 29

Class

UpdateSettingsDefaultFetchUrlUpdateTest
Tests update of update.settings:fetch.url if it's still the default of "".

Namespace

Drupal\Tests\update\Functional\Update

Code

protected function setDatabaseDumpFiles() {
    $this->databaseDumpFiles = [
        DRUPAL_ROOT . '/core/modules/system/tests/fixtures/update/drupal-9.4.0.bare.standard.php.gz',
    ];
}

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