function BlockContextMappingUpdateTest::setDatabaseDumpFiles

Overrides UpdatePathTestBase::setDatabaseDumpFiles

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

File

core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php, line 27

Class

BlockContextMappingUpdateTest
Tests the upgrade path for block context mapping renames.

Namespace

Drupal\Tests\block\Functional\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',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.