Skip to content

Commit 94364fa

Browse files
ConfigTest: options can only be an array
1 parent 0019223 commit 94364fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testAllPropertiesCanBeSet(): void
5252
'password' => 'test_password',
5353
'use_ssl' => 'true',
5454
'charset' => 'latin1',
55-
'options' => 'test_options',
55+
'options' => ['test_options'],
5656
'ssl_key' => 'test_ssl_key',
5757
'ssl_cert' => 'test_ssl_cert',
5858
'ssl_ca' => 'test_ssl_ca',
@@ -69,7 +69,7 @@ public function testAllPropertiesCanBeSet(): void
6969
$this->assertSame($config->password, 'test_password');
7070
$this->assertSame($config->useSsl, 'true');
7171
$this->assertSame($config->charset, 'latin1');
72-
$this->assertSame($config->options, 'test_options');
72+
$this->assertSame($config->options, ['test_options']);
7373
$this->assertSame($config->sslKey, 'test_ssl_key');
7474
$this->assertSame($config->sslCert, 'test_ssl_cert');
7575
$this->assertSame($config->sslCa, 'test_ssl_ca');

0 commit comments

Comments
 (0)