You are here

protected function Ip2CountryUpdateTest::setDatabaseDumpFiles in IP-based Determination of a Visitor's Country 8

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

tests/src/Functional/Update/Ip2CountryUpdateTest.php, line 17

Class

Ip2CountryUpdateTest
Tests that ip2country settings are properly updated during database updates.

Namespace

Drupal\Tests\ip2country\Functional\Update

Code

protected function setDatabaseDumpFiles() {

  // Use core fixture and Ip2Country-specific fixture.
  $this->databaseDumpFiles = [
    DRUPAL_ROOT . '/core/modules/system/tests/fixtures/update/drupal-8.8.0.bare.standard.php.gz',
    __DIR__ . '/../../../fixtures/update/drupal-8.ip2country-update-batch-size-2187895.php',
  ];
}