From eccd591653115bb7625918a10fff94941d6bda79 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 2 May 2017 14:50:35 +0100
Subject: [PATCH] Revert "Issue #2867700 by erozqba, mondrake, mradcliffe,
 cilefen: ConnectionUnitTest::testConnectionOpen fails if the driver is not
 implementing a PDO connection"

This reverts commit 725356f0fdc519f3d116e6f7ba8ff48fcaae2921.
---
 .../Drupal/KernelTests/Core/Database/ConnectionUnitTest.php | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php b/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
index 1539889ca2fa..6edcef821aa8 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
@@ -233,12 +233,6 @@ public function testConnectionOpen() {
     $reflection = new \ReflectionObject($connection);
     $connection_property = $reflection->getProperty('connection');
     $connection_property->setAccessible(TRUE);
-    // Skip this test when a database driver does not implement PDO.
-    // An alternative database driver that does not implement PDO
-    // should implement its own connection test."
-    if (get_class($connection_property->getValue($connection)) !== 'PDO') {
-      $this->markTestSkipped('Ignored PDO connection unit test for this driver because it does not implement PDO.');
-    }
     $error_mode = $connection_property->getValue($connection)
       ->getAttribute(\PDO::ATTR_ERRMODE);
     $this->assertEqual($error_mode, \PDO::ERRMODE_SILENT, 'Ensure PDO connection options can be overridden.');
-- 
GitLab