protected function BlockContentReusableUpdateTest::setDatabaseDumpFiles in Drupal 8
Set database dump files to be used.
Overrides UpdatePathTestBase::setDatabaseDumpFiles
File
- core/
modules/ block_content/ tests/ src/ Functional/ Update/ BlockContentReusableUpdateTest.php, line 20
Class
- BlockContentReusableUpdateTest
- Tests 'reusable' field related update functions for the Block Content module.
Namespace
Drupal\Tests\block_content\Functional\UpdateCode
protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [
__DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
// Override the 'block_content' view with an extra display with overridden
// filters. This extra display should also have a filter added for
// 'reusable' field so that it does not expose non-reusable fields. This
// display also has a filter that only shows blocks that contain 'block2'
// in the 'info' field.
__DIR__ . '/../../../fixtures/update/drupal-8.views_block_content-2976334.php',
];
}