From 74d951e00ec2069d6c69705e3f16aa8ccc00958a Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Mon, 26 Nov 2018 18:18:32 -0800 Subject: [PATCH] DataAccessTest::testFetchColumnNonExistingIndex() since it covers a bug in PDO --- .../Tests/DBAL/Functional/DataAccessTest.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php b/tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php index 9f6fcbfd75..c81990ee20 100644 --- a/tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php +++ b/tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php @@ -891,22 +891,6 @@ public function testFetchColumnNullValue() ); } - /** - * @group DBAL-1028 - */ - public function testFetchColumnNonExistingIndex() - { - if ($this->connection->getDriver()->getName() === 'pdo_sqlsrv') { - $this->markTestSkipped( - 'Test does not work for pdo_sqlsrv driver as it throws a fatal error for a non-existing column index.' - ); - } - - self::assertNull( - $this->connection->fetchColumn('SELECT test_int FROM fetch_table WHERE test_int = ?', [1], 1) - ); - } - /** * @group DBAL-1028 */