You are here

public function ResourceGranularityUpdateTest::setDatabaseDumpFiles in Drupal 8

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/rest/tests/src/Functional/Update/ResourceGranularityUpdateTest.php, line 26

Class

ResourceGranularityUpdateTest
Tests method-granularity REST config is simplified to resource-granularity.

Namespace

Drupal\Tests\rest\Functional\Update

Code

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