Skip to content

Commit 0fbb93a

Browse files
committed
Update MSSQLQueryBuilderTest.php
1 parent 7b0ec00 commit 0fbb93a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/webfiori/database/tests/mssql/MSSQLQueryBuilderTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,9 @@ public function testSetConnection00() {
11641164
if (PHP_MAJOR_VERSION == 5) {
11651165
$this->markTestSkipped('PHP 5 has no MSSQL driver in selected setup.');
11661166
} else {
1167-
$connInfo = new ConnectionInfo('mssql','sa', '1234567890@Eu', 'testing_db', SQL_SERVER_HOST);
1167+
$connInfo = new ConnectionInfo('mssql','sa', '1234567890@Eu', 'testing_db', SQL_SERVER_HOST, 1433, [
1168+
'TrustServerCertificate' => 'true'
1169+
]);
11681170
$conn = new MSSQLConnection($connInfo);
11691171
$schema = new MSSQLTestSchema();
11701172
$schema->setConnection($conn);

0 commit comments

Comments
 (0)