function RequirementsTest::setUp
Same name in other branches
- 9 core/modules/mysql/tests/src/Functional/RequirementsTest.php \Drupal\Tests\mysql\Functional\RequirementsTest::setUp()
- 10 core/modules/mysql/tests/src/Functional/RequirementsTest.php \Drupal\Tests\mysql\Functional\RequirementsTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ mysql/ tests/ src/ Functional/ RequirementsTest.php, line 30
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.
$connection = Database::getConnection();
if ($connection->driver() !== 'mysql') {
$this->markTestSkipped("This test does not support the {$connection->driver()} database driver.");
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.