protected function RequirementsTest::setUp in Drupal 10
File
- core/
modules/ mysql/ tests/ src/ Functional/ RequirementsTest.php, line 28
Class
- RequirementsTest
- Tests isolation level warning when the config is set in settings.php.
Namespace
Drupal\Tests\mysql\FunctionalCode
protected function setUp() : void {
parent::setUp();
// The isolation_level option is only available for MySQL.
$connectionInfo = Database::getConnectionInfo();
if ($connectionInfo['default']['driver'] !== 'mysql') {
$this
->markTestSkipped("This test does not support the {$connectionInfo['default']['driver']} database driver.");
}
}