function ChangePromotedDefaultTest::setDatabaseDumpFiles
Same name and namespace in other branches
- 11.x core/modules/node/tests/src/Functional/Update/ChangePromotedDefaultTest.php \Drupal\Tests\node\Functional\Update\ChangePromotedDefaultTest::setDatabaseDumpFiles()
Set database dump files to be used.
Overrides UpdatePathTestBase::setDatabaseDumpFiles
File
-
core/
modules/ node/ tests/ src/ Functional/ Update/ ChangePromotedDefaultTest.php, line 22
Class
- ChangePromotedDefaultTest
- Tests creating base field overrides for the promote field on node types.
Namespace
Drupal\Tests\node\Functional\UpdateCode
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',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.