You are here

protected function AutomatedCronUpdateWithoutAutomatedCronTest::setDatabaseDumpFiles in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Update/AutomatedCronUpdateWithoutAutomatedCronTest.php \Drupal\system\Tests\Update\AutomatedCronUpdateWithoutAutomatedCronTest::setDatabaseDumpFiles()

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/system/src/Tests/Update/AutomatedCronUpdateWithoutAutomatedCronTest.php, line 20
Contains \Drupal\system\Tests\Update\AutomatedCronUpdateWithoutAutomatedCronTest.

Class

AutomatedCronUpdateWithoutAutomatedCronTest
Ensures that the automated cron module is not installed on update.

Namespace

Drupal\system\Tests\Update

Code

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