function ContentModerationStateIndexUpdatePathTest::setDatabaseDumpFiles

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

File

core/modules/content_moderation/tests/src/Functional/Update/ContentModerationStateIndexUpdatePathTest.php, line 22

Class

ContentModerationStateIndexUpdatePathTest
Tests the upgrade path for adding an index to moderation state column.

Namespace

Drupal\Tests\content_moderation\Functional\Update

Code

protected function setDatabaseDumpFiles() : void {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-10.3.0.bare.standard.php.gz',
    __DIR__ . '/../../../../../system/tests/fixtures/update/uninstall-history.php',
    __DIR__ . '/../../../fixtures/content-moderation.php',
  ];
}

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