You are here

public function EditorUpdateTest::setDatabaseDumpFiles in Zircon Profile 8

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

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/editor/src/Tests/Update/EditorUpdateTest.php, line 22
Contains \Drupal\editor\Tests\Update\EditorUpdateTest.

Class

EditorUpdateTest
Tests Editor module database updates.

Namespace

Drupal\editor\Tests\Update

Code

public function setDatabaseDumpFiles() {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
    // Simulate an un-synchronized environment.
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.editor-editor_update_8001.php',
  ];
}