function NullHelpAndDescriptionTest::setDatabaseDumpFiles

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

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/node/tests/src/Functional/Update/NullHelpAndDescriptionTest.php, line 20

Class

NullHelpAndDescriptionTest
Tests the upgrade path for making content types' help and description NULL.

Namespace

Drupal\Tests\node\Functional\Update

Code

protected function setDatabaseDumpFiles() {
    $this->databaseDumpFiles = [
        __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-9.4.0.filled.standard.php.gz',
        __DIR__ . '/../../../fixtures/update/remove-description-from-article-content-type.php',
    ];
}

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