From 9d86b861b920f8c2ddfa5a936317d9a6b46e2d47 Mon Sep 17 00:00:00 2001 From: David Puglielli Date: Wed, 19 Jul 2017 15:13:23 -0700 Subject: [PATCH] Tests fixed --- test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq.phpt | 2 +- test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq_2.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq.phpt b/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq.phpt index 1d60fb618..b0503733c 100644 --- a/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq.phpt +++ b/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq.phpt @@ -7,7 +7,7 @@ require_once("MsSetup.inc"); try{ $database = "tempdb"; - $conn = new PDO("sqlsrv:Server=$serverName;Database=$databaseName", $username, $password); + $conn = new PDO("sqlsrv:Server=$serverName;Database=$databaseName", $uid, $pwd); // sequence is only supported in SQL server 2012 and up (or version 11 and up) // Output Done once the server version is found to be < 11 diff --git a/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq_2.phpt b/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq_2.phpt index cbc0c25de..3689a78ac 100644 --- a/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq_2.phpt +++ b/test/functional/pdo_sqlsrv/pdo_278_lastinsertid_seq_2.phpt @@ -7,7 +7,7 @@ require_once("MsSetup.inc"); try{ $database = "tempdb"; - $conn = new PDO("sqlsrv:Server=$server;Database=$databaseName", $username, $password); + $conn = new PDO("sqlsrv:Server=$server;Database=$databaseName", $uid, $pwd); // sequence is only supported in SQL server 2012 and up (or version 11 and up) // Output Done once the server version is found to be < 11