protected function UpdatePostUpdateFailingTest::setDatabaseDumpFiles in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Update/UpdatePostUpdateFailingTest.php \Drupal\system\Tests\Update\UpdatePostUpdateFailingTest::setDatabaseDumpFiles()
Set database dump files to be used.
Overrides UpdatePathTestBase::setDatabaseDumpFiles
File
- core/
modules/ system/ src/ Tests/ Update/ UpdatePostUpdateFailingTest.php, line 20 - Contains \Drupal\system\Tests\Update\UpdatePostUpdateFailingTest.
Class
- UpdatePostUpdateFailingTest
- Tests hook_post_update() when there are failing update hooks.
Namespace
Drupal\system\Tests\UpdateCode
protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [
__DIR__ . '/../../../tests/fixtures/update/drupal-8.bare.standard.php.gz',
__DIR__ . '/../../../tests/fixtures/update/drupal-8.update-test-postupdate-failing-enabled.php',
];
}