function Mysql8RequirePrimaryKeyUpdateTest::setDatabaseDumpFiles

Same name in other branches
  1. 9 core/modules/user/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php \Drupal\Tests\user\Functional\Mysql8RequirePrimaryKeyUpdateTest::setDatabaseDumpFiles()
  2. 11.x core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php \Drupal\Tests\mysql\Functional\Mysql8RequirePrimaryKeyUpdateTest::setDatabaseDumpFiles()

Overrides UpdatePathTestBase::setDatabaseDumpFiles

File

core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php, line 51

Class

Mysql8RequirePrimaryKeyUpdateTest
Tests updates MySQL 8 when sql_require_primary_key is on.

Namespace

Drupal\Tests\mysql\Functional

Code

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

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