You are here

protected function FieldUpdateTest::setDatabaseDumpFiles in Zircon Profile 8

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

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/field/src/Tests/Update/FieldUpdateTest.php, line 40
Contains \Drupal\field\Tests\Update\FieldUpdateTest.

Class

FieldUpdateTest
Tests that field settings are properly updated during database updates.

Namespace

Drupal\field\Tests\Update

Code

protected function setDatabaseDumpFiles() {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
    __DIR__ . '/../../../tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php',
  ];
}