function Y2038TimestampUpdateTest::setDatabaseDumpFiles

Same name in other branches
  1. 11.x core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php \Drupal\Tests\system\Functional\Update\Y2038TimestampUpdateTest::setDatabaseDumpFiles()

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php, line 83

Class

Y2038TimestampUpdateTest
Tests update of timestamp fields to bigint.

Namespace

Drupal\Tests\system\Functional\Update

Code

protected function setDatabaseDumpFiles() {
    $this->databaseDumpFiles = [
        // Start with a standard install of Drupal 9.3.0 with the following
        // enabled modules: forum, language, locale, statistics and tracker.
DRUPAL_ROOT . '/core/modules/system/tests/fixtures/update/drupal-9.4.0.filled.standard.php.gz',
        DRUPAL_ROOT . '/core/modules/system/tests/fixtures/update/Y2038-timestamp.php',
    ];
}

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