You are here

protected function UpdatePostUpdateTest::setDatabaseDumpFiles in Zircon Profile 8

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

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/system/src/Tests/Update/UpdatePostUpdateTest.php, line 22
Contains \Drupal\system\Tests\Update\UpdatePostUpdateTest.

Class

UpdatePostUpdateTest
Tests hook_post_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.update-test-postupdate-enabled.php',
  ];
}