function ReadOnlyModeUpdateTest::setDatabaseDumpFiles

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

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