You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/webfiori/database/tests/mssql/MSSQLQueryBuilderTest.php
+5-3
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ public function testTransaction02(int $userId) {
285
285
});
286
286
}, [$userId]);
287
287
} catch (DatabaseException$ex) {
288
-
$this->assertEquals("515 - The statement has been terminated due to following: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot insert the value NULL into column 'age', table 'testing_db.dbo.users'; column does not allow nulls. INSERT fails.", $ex->getMessage());
288
+
$this->assertEquals("515 - The statement has been terminated due to following: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Cannot insert the value NULL into column 'age', table 'testing_db.dbo.users'; column does not allow nulls. INSERT fails.", $ex->getMessage());
@@ -717,7 +717,7 @@ public function testInsert05() {
717
717
*/
718
718
publicfunctiontestInsert06() {
719
719
$this->expectException(DatabaseException::class);
720
-
$this->expectExceptionMessage("207 - Statement(s) could not be prepared due to the following: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'not_exist'.");
720
+
$this->expectExceptionMessage("207 - Statement(s) could not be prepared due to the following: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'not_exist'.");
721
721
$schema = newMSSQLTestSchema();
722
722
$q = $schema->table('users_tasks');
723
723
$q->insert([
@@ -1164,7 +1164,9 @@ public function testSetConnection00() {
1164
1164
if (PHP_MAJOR_VERSION == 5) {
1165
1165
$this->markTestSkipped('PHP 5 has no MSSQL driver in selected setup.');
0 commit comments