We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb49ca4 + c0ed5f9 commit 83cf7e1Copy full SHA for 83cf7e1
tests/Functional/Driver/PDO/SQLSrv/DriverTest.php
@@ -13,6 +13,7 @@
13
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
14
15
use function array_merge;
16
+use function array_replace;
17
18
#[RequiresPhpExtension('pdo_sqlsrv')]
19
class DriverTest extends AbstractDriverTestCase
@@ -44,7 +45,7 @@ private function getConnection(array $driverOptions): Connection
44
45
$params = TestUtil::getConnectionParams();
46
47
if (isset($params['driverOptions'])) {
- $driverOptions = array_merge($params['driverOptions'], $driverOptions);
48
+ $driverOptions = array_replace($params['driverOptions'], $driverOptions);
49
}
50
51
return (new Driver())->connect(
0 commit comments