function OembedUpdateTest::setDatabaseDumpFiles

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

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php, line 36

Class

OembedUpdateTest
Tests eager-load upgrade path.

Namespace

Drupal\Tests\media\Functional\FieldFormatter

Code

protected function setDatabaseDumpFiles() : void {
    $this->databaseDumpFiles = [
        __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-9.4.0.filled.standard.php.gz',
        __DIR__ . '/../../../fixtures/update/media.php',
        __DIR__ . '/../../../fixtures/update/media-oembed-iframe.php',
    ];
}

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