Modified bvt tests to work with AdventureWorks2017 as well (#1128)
This commit is contained in:
parent
93b6237f9e
commit
d4c112e9af
|
@ -169,10 +169,10 @@ function DisplayWarnings()
|
|||
}
|
||||
?>
|
||||
--EXPECTREGEX--
|
||||
Warning: \[Microsoft\]\[ODBC Driver 1[1-9] for SQL Server\]\[SQL Server\]Changed database context to 'AdventureWorks2014'.
|
||||
Warning: \[Microsoft\]\[ODBC Driver 1[1-9] for SQL Server\]\[SQL Server\]Changed database context to 'AdventureWorks201[4|7]'.
|
||||
Warning: \[Microsoft\]\[ODBC Driver 1[1-9] for SQL Server\]\[SQL Server\]Changed language setting to us_english.
|
||||
BusinessEntityId 7 has 57 remaining vacation hours.
|
||||
BusinessEntityId 8 has 57 remaining vacation hours.
|
||||
BusinessEntityId 9 has 55 remaining vacation hours.
|
||||
Error: \[Microsoft\]\[ODBC Driver 1[1-9] for SQL Server\]\[SQL Server\]The UPDATE statement conflicted with the CHECK constraint "CK_Employee_VacationHours". The conflict occurred in database "AdventureWorks2014", table "HumanResources.Employee", column 'VacationHours'.
|
||||
Error: \[Microsoft\]\[ODBC Driver 1[1-9] for SQL Server\]\[SQL Server\]The UPDATE statement conflicted with the CHECK constraint "CK_Employee_VacationHours". The conflict occurred in database "AdventureWorks201[4|7]", table "HumanResources.Employee", column 'VacationHours'.
|
||||
Error: \[Microsoft\]\[ODBC Driver 1[1-9] for SQL Server\]\[SQL Server\]The statement has been terminated.
|
|
@ -34,5 +34,5 @@ if ( $date === false ) {
|
|||
echo $date;
|
||||
sqlsrv_close( $conn);
|
||||
?>
|
||||
--EXPECT--
|
||||
2014-02-20 04:26:00.000
|
||||
--EXPECTREGEX--
|
||||
2014-02-20 04:26:00.000|2017-08-22 19:39:35.643
|
|
@ -36,5 +36,5 @@ echo "Date = $date_string\n";
|
|||
|
||||
sqlsrv_close( $conn);
|
||||
?>
|
||||
--EXPECT--
|
||||
Date = 20th, February 2014
|
||||
--EXPECTREGEX--
|
||||
Date = 20th, February 2014|Date = 22nd, August 2017
|
|
@ -36,5 +36,5 @@ echo $date;
|
|||
|
||||
sqlsrv_close( $conn);
|
||||
?>
|
||||
--EXPECT--
|
||||
2014-02-20 04:26:00.000
|
||||
--EXPECTREGEX--
|
||||
2014-02-20 04:26:00.000|2017-08-22 19:39:35.643
|
Loading…
Reference in a new issue