From 00f9b7edf8d2e015248889dbb2b3a9b42bdb32db Mon Sep 17 00:00:00 2001 From: Hadis-Fard Date: Thu, 14 Sep 2017 08:51:52 -0700 Subject: [PATCH] fixed connection test, Driver option is valid --- test/functional/sqlsrv/sqlsrv_testConnection.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/sqlsrv/sqlsrv_testConnection.phpt b/test/functional/sqlsrv/sqlsrv_testConnection.phpt index 9d6da98c..b9c22486 100644 --- a/test/functional/sqlsrv/sqlsrv_testConnection.phpt +++ b/test/functional/sqlsrv/sqlsrv_testConnection.phpt @@ -191,9 +191,9 @@ array\(1\) \{ \["code"\]=> int\(-1\) \[2\]=> - string\([0-9]+\) "Invalid option .* was passed to sqlsrv_connect." + string\([0-9]+\) "Invalid value SQL Server Native Client 11.0 was specified for Driver option. For the list of valid connection options visit https://docs.microsoft.com/en-us/sql/connect/php/connection-options" \["message"\]=> - string\([0-9]+\) "Invalid option .* was passed to sqlsrv_connect." + string\([0-9]+\) "Invalid value SQL Server Native Client 11.0 was specified for Driver option. For the list of valid connection options visit https://docs.microsoft.com/en-us/sql/connect/php/connection-options" \} \} Test sqlsrv_connect with driver injection