function Mysql8RequirePrimaryKeyUpdateTest::setDatabaseDumpFiles

Same name in other branches
  1. 10 core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php \Drupal\Tests\mysql\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/user/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php, line 46

Class

Mysql8RequirePrimaryKeyUpdateTest
Tests user_update_9301() on MySQL 8 when sql_require_primary_key is on.

Namespace

Drupal\Tests\user\Functional

Code

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

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