Commit 93e75890 authored by catch's avatar catch
Browse files

Issue #3414957 by Spokje: \Drupal\Tests\mysql\Functional\RequirementsTest is always skipped

(cherry picked from commit ec64ab51)
parent 3b6f9890
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -29,9 +29,9 @@ 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.");
    $connection = Database::getConnection();
    if ($connection->driver() !== 'mysql') {
      $this->markTestSkipped("This test does not support the {$connection->driver()} database driver.");
    }
  }