You are here

public function LocalActionsAndTasksConvertedIntoBlocksUpdateTest::setDatabaseDumpFiles in Zircon Profile 8

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

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/system/src/Tests/Update/LocalActionsAndTasksConvertedIntoBlocksUpdateTest.php, line 24
Contains \Drupal\system\Tests\Update\LocalActionsAndTasksConvertedIntoBlocksUpdateTest.

Class

LocalActionsAndTasksConvertedIntoBlocksUpdateTest
Tests the upgrade path for local actions/tasks being converted into blocks.

Namespace

Drupal\system\Tests\Update

Code

public function setDatabaseDumpFiles() {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php',
  ];
}