function HelpNoSearchUpgradeTest::setDatabaseDumpFiles

Same name and namespace in other branches
  1. main core/modules/help/tests/src/Functional/HelpNoSearchUpgradeTest.php \Drupal\Tests\help\Functional\HelpNoSearchUpgradeTest::setDatabaseDumpFiles()

Set database dump files to be used.

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/help/tests/src/Functional/HelpNoSearchUpgradeTest.php, line 26

Class

HelpNoSearchUpgradeTest
Tests that the search_help module is not installed after help updates.

Namespace

Drupal\Tests\help\Functional

Code

protected function setDatabaseDumpFiles() : void {
  $this->databaseDumpFiles = [
    __DIR__ . '/../../../../system/tests/fixtures/update/drupal-11.3.0.bare.standard.php.gz',
    __DIR__ . '/../../fixtures/uninstall-search.php',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.