You are here

protected function WarmCacheUpdateFrom8dot6Test::setDatabaseDumpFiles in Drupal 8

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php, line 20

Class

WarmCacheUpdateFrom8dot6Test
Updates from 8.6.0 with warm caches.

Namespace

Drupal\Tests\system\Functional\Update

Code

protected function setDatabaseDumpFiles() {

  // Created by installing minimal on 8.6.0, logging on as user 1 and doing:
  // php ./core/scripts/db-tools.php dump-database-d8-mysql --schema-only=sessions,watchdog
  $this->databaseDumpFiles[0] = __DIR__ . '/../../../../tests/fixtures/update/drupal-8.6.0-minimal-with-warm-caches.sql.gz';
  $this->databaseDumpFiles[1] = __DIR__ . '/../../../../tests/fixtures/update/drupal-8.test-config-init.php';
}