diff --git a/test/bvt/pdo_sqlsrv/msdn_pdo_getAvailableDrivers.phpt b/test/bvt/pdo_sqlsrv/msdn_pdo_getAvailableDrivers.phpt index fbaaede6..7db00eea 100644 --- a/test/bvt/pdo_sqlsrv/msdn_pdo_getAvailableDrivers.phpt +++ b/test/bvt/pdo_sqlsrv/msdn_pdo_getAvailableDrivers.phpt @@ -1,13 +1,16 @@ --TEST-- -returns an array of PDO drivers +check if sqlsrv is in the array of available PDO drivers --SKIPIF-- --FILE-- --EXPECT-- -Array -( - [0] => sqlsrv -) \ No newline at end of file +sqlsrv found +Done \ No newline at end of file diff --git a/test/bvt/sqlsrv/msdn_sqlsrv_cancel.phpt b/test/bvt/sqlsrv/msdn_sqlsrv_cancel.phpt index 27364fee..69b53eae 100644 --- a/test/bvt/sqlsrv/msdn_sqlsrv_cancel.phpt +++ b/test/bvt/sqlsrv/msdn_sqlsrv_cancel.phpt @@ -14,7 +14,7 @@ if( $conn === false ) } /* Prepare and execute the query. */ -$tsql = "SELECT OrderQty, UnitPrice FROM Sales.SalesOrderDetail"; +$tsql = "SELECT OrderQty, UnitPrice FROM Sales.SalesOrderDetail ORDER BY SalesOrderID"; $stmt = sqlsrv_prepare( $conn, $tsql); if( $stmt === false ) { @@ -46,4 +46,4 @@ echo "$count sales accounted for the first $$salesTotal in revenue.\n"; sqlsrv_cancel( $stmt); ?> --EXPECT-- -57 sales accounted for the first $104171.7607 in revenue. \ No newline at end of file +58 sales accounted for the first $104205.9607 in revenue. \ No newline at end of file diff --git a/test/bvt/sqlsrv/msdn_sqlsrv_configure_2.phpt b/test/bvt/sqlsrv/msdn_sqlsrv_configure_2.phpt index 1920cc48..de78bcff 100644 --- a/test/bvt/sqlsrv/msdn_sqlsrv_configure_2.phpt +++ b/test/bvt/sqlsrv/msdn_sqlsrv_configure_2.phpt @@ -2,7 +2,6 @@ disables the default error-handling behaviour using configure and returns warnings --SKIPIF-- -?> --FILE-- --EXPECTREGEX-- diff --git a/test/bvt/sqlsrv/msdn_sqlsrv_server_info.phpt b/test/bvt/sqlsrv/msdn_sqlsrv_server_info.phpt index 4d15718b..c15096b5 100644 --- a/test/bvt/sqlsrv/msdn_sqlsrv_server_info.phpt +++ b/test/bvt/sqlsrv/msdn_sqlsrv_server_info.phpt @@ -31,5 +31,5 @@ else /* Free connection resources. */ sqlsrv_close( $conn); ?> ---EXPECT-- -CurrentDatabase: AdventureWorks2014
SQLServerVersion: 12.00.4100
SQLServerName: SQL-2K14-SP1-1
\ No newline at end of file +--EXPECTREGEX-- +CurrentDatabase: AdventureWorks.*
SQLServerVersion: 1[2-9].00.[0-9]{4}
SQLServerName: SQL.+
\ No newline at end of file