function ContentModerationStateIndexUpdatePathTest::setDatabaseDumpFiles
Set database dump files to be used.
Overrides UpdatePathTestBase::setDatabaseDumpFiles
File
-
core/
modules/ content_moderation/ tests/ src/ Functional/ Update/ ContentModerationStateIndexUpdatePathTest.php, line 20
Class
- ContentModerationStateIndexUpdatePathTest
- Tests the upgrade path for adding an index to moderation state column.
Namespace
Drupal\Tests\content_moderation\Functional\UpdateCode
protected function setDatabaseDumpFiles() : void {
$this->databaseDumpFiles = [
__DIR__ . '/../../../../../system/tests/fixtures/update/drupal-10.3.0.bare.standard.php.gz',
__DIR__ . '/../../../fixtures/content-moderation.php',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.