function PreventDowngradeTest::setDatabaseDumpFiles

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/system/tests/src/Functional/UpdateSystem/PreventDowngradeTest.php, line 27

Class

PreventDowngradeTest
Tests that a site on 10.4.0 is prevented from downgrading to 11.0.0.

Namespace

Drupal\Tests\system\Functional\UpdateSystem

Code

protected function setDatabaseDumpFiles() : void {
    $this->databaseDumpFiles[] = __DIR__ . '/../../../../tests/fixtures/update/drupal-10.3.0.filled.standard.php.gz';
}

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