diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61153a39..1b86df23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: env: COMPOSER_ROOT_VERSION: 1.0.0 - EXTENSIONS: pdo, pdo_sqlsrv-5.10.1 + EXTENSIONS: pdo, pdo_sqlsrv-5.12 runs-on: ${{ matrix.mssql.os || 'ubuntu-latest' }} diff --git a/tests/DsnTest.php b/tests/DsnTest.php index 719c66f2..0a2c07c0 100644 --- a/tests/DsnTest.php +++ b/tests/DsnTest.php @@ -24,17 +24,17 @@ public function testAsString(): void public function testAsStringWithDatabaseName(): void { - $this->assertSame('sqlsrv:Server=127.0.0.1,1433;', (new Dsn('sqlsrv', '127.0.0.1'))->asString()); + $this->assertSame('sqlsrv:Server=127.0.0.1,1433', (new Dsn('sqlsrv', '127.0.0.1'))->asString()); } public function testAsStringWithDatabaseNameWithEmptyString(): void { - $this->assertSame('sqlsrv:Server=127.0.0.1,1433;', (new Dsn('sqlsrv', '127.0.0.1', ''))->asString()); + $this->assertSame('sqlsrv:Server=127.0.0.1,1433', (new Dsn('sqlsrv', '127.0.0.1', ''))->asString()); } public function testAsStringWithDatabaseNameWithNull(): void { - $this->assertSame('sqlsrv:Server=127.0.0.1,1433;', (new Dsn('sqlsrv', '127.0.0.1', null))->asString()); + $this->assertSame('sqlsrv:Server=127.0.0.1,1433', (new Dsn('sqlsrv', '127.0.0.1', null))->asString()); } public function testAsStringWithEmptyPort(): void