You are here

protected function ViewsDataTableDependencyUpdateTest::setDatabaseDumpFiles in Drupal 8

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/views/tests/src/Functional/Update/ViewsDataTableDependencyUpdateTest.php, line 21

Class

ViewsDataTableDependencyUpdateTest
Tests the upgrade path for views data table provider dependencies.

Namespace

Drupal\Tests\views\Functional\Update

Code

protected function setDatabaseDumpFiles() {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.4.0.bare.standard.php.gz',
    // This creates a view called test_table_dependency_update which has no
    // dependencies.
    __DIR__ . '/../../../fixtures/update/views-data-table-dependency.php',
  ];
}