You are here

protected function BlockContextMappingUpdateTest::setDatabaseDumpFiles in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/Tests/Update/BlockContextMappingUpdateTest.php \Drupal\block\Tests\Update\BlockContextMappingUpdateTest::setDatabaseDumpFiles()

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

1 call to BlockContextMappingUpdateTest::setDatabaseDumpFiles()
BlockContextMappingUpdateFilledTest::setDatabaseDumpFiles in core/modules/block/src/Tests/Update/BlockContextMappingUpdateFilledTest.php
Set database dump files to be used.
1 method overrides BlockContextMappingUpdateTest::setDatabaseDumpFiles()
BlockContextMappingUpdateFilledTest::setDatabaseDumpFiles in core/modules/block/src/Tests/Update/BlockContextMappingUpdateFilledTest.php
Set database dump files to be used.

File

core/modules/block/src/Tests/Update/BlockContextMappingUpdateTest.php, line 31
Contains \Drupal\block\Tests\Update\BlockContextMappingUpdateTest.

Class

BlockContextMappingUpdateTest
Tests the upgrade path for block context mapping renames.

Namespace

Drupal\block\Tests\Update

Code

protected function setDatabaseDumpFiles() {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php',
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.language-enabled.php',
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.block-test-enabled.php',
  ];
}