You are here

protected function Thunder2UpdateTest::setDatabaseDumpFiles in Thunder 6.2.x

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::setDatabaseDumpFiles()
  2. 8.2 tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::setDatabaseDumpFiles()
  3. 8.3 tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::setDatabaseDumpFiles()
  4. 8.4 tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::setDatabaseDumpFiles()
  5. 6.0.x tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::setDatabaseDumpFiles()
  6. 6.1.x tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::setDatabaseDumpFiles()

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

tests/src/Functional/Thunder2UpdateTest.php, line 38

Class

Thunder2UpdateTest
Tests Thunder updates from 2.0 to current.

Namespace

Drupal\Tests\thunder\Functional

Code

protected function setDatabaseDumpFiles() {

  // This database was created from the Thunder release available from
  // https://www.drupal.org/project/thunder/releases/8.x-2.0 and an
  // interactive install and choosing to enable all the optional modules.
  $this->databaseDumpFiles = [
    $this
      ->getTestFixture("thunder.2-0.php.gz"),
  ];
}