function ViewsDataTableDependencyUpdateTest::setDatabaseDumpFiles

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',
    ];
}

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