You are here

public function ReadOnlyModeUpdateTest::setDatabaseDumpFiles in Drupal 8

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/jsonapi/tests/src/Functional/Update/ReadOnlyModeUpdateTest.php, line 27

Class

ReadOnlyModeUpdateTest
Tests that existing sites have the new read-only mode to "off".

Namespace

Drupal\Tests\jsonapi\Functional\Update

Code

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