Modified bvt tests to work with AdventureWorks2017 as well (#1128)

This commit is contained in:
Jenny Tam 2020-04-16 15:12:52 -07:00 committed by GitHub
parent 93b6237f9e
commit d4c112e9af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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