function TextWithSummaryUpdatePathTest::setDatabaseDumpFiles

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

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/system/tests/src/Functional/Update/TextWithSummaryUpdatePathTest.php, line 28

Class

TextWithSummaryUpdatePathTest
Tests the update path for the removed text_with_summary field type.

Namespace

Drupal\Tests\system\Functional\Update

Code

protected function setDatabaseDumpFiles() : void {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-11.3.0.bare.standard.php.gz',
    __DIR__ . '/../../../fixtures/update/add-text-with-summary-storage.php',
  ];
}

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