function MediaSettingsDefaultIframeDomainUpdateTest::setDatabaseDumpFiles

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

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php, line 28

Class

MediaSettingsDefaultIframeDomainUpdateTest
Tests update of media.settings:iframe_domain if it's still the default of "".

Namespace

Drupal\Tests\media\Functional\Update

Code

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

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