function ForumIndexUpdateTest::setDatabaseDumpFiles

Same name in other branches
  1. 10 core/modules/forum/tests/src/Functional/ForumIndexUpdateTest.php \Drupal\Tests\forum\Functional\ForumIndexUpdateTest::setDatabaseDumpFiles()

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/forum/tests/src/Functional/ForumIndexUpdateTest.php, line 20

Class

ForumIndexUpdateTest
Tests addition of the forum_index primary key.

Namespace

Drupal\Tests\forum\Functional

Code

protected function setDatabaseDumpFiles() {
    $this->databaseDumpFiles = [
        dirname(__DIR__, 2) . '/fixtures/update/drupal-10.1.0.empty.testing.forum.gz',
    ];
}

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