You are here

protected function EntityBrowserUpdateHookTest::setDatabaseDumpFiles in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/EntityBrowserUpdateHookTest.php \Drupal\Tests\entity_browser\Functional\EntityBrowserUpdateHookTest::setDatabaseDumpFiles()

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

tests/src/Functional/EntityBrowserUpdateHookTest.php, line 22

Class

EntityBrowserUpdateHookTest
Tests the update hooks in entity_browser module.

Namespace

Drupal\Tests\entity_browser\Functional

Code

protected function setDatabaseDumpFiles() {
  $this->databaseDumpFiles = [
    DRUPAL_ROOT . '/core/modules/system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
    __DIR__ . '/../../fixtures/update/entity_browser.update-hook-test.php',
  ];
}