Skip to content

Commit 1055259

Browse files
committed
derpito
1 parent 36ffefc commit 1055259

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pkg/dbal/Tests/DbalConnectionFactoryConfigTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static function provideConfigs()
6464
null,
6565
[
6666
'connection' => [
67-
'url' => 'pdo_mysql://root@localhost'
67+
'url' => 'pdo_mysql://root@localhost',
6868
],
6969
'table_name' => 'enqueue',
7070
'polling_interval' => 1000,
@@ -76,7 +76,7 @@ public static function provideConfigs()
7676
'mysql:',
7777
[
7878
'connection' => [
79-
'url' => 'pdo_mysql://root@localhost'
79+
'url' => 'pdo_mysql://root@localhost',
8080
],
8181
'table_name' => 'enqueue',
8282
'polling_interval' => 1000,
@@ -88,7 +88,7 @@ public static function provideConfigs()
8888
'mysql+pdo:',
8989
[
9090
'connection' => [
91-
'url' => 'pdo_mysql://root@localhost'
91+
'url' => 'pdo_mysql://root@localhost',
9292
],
9393
'table_name' => 'enqueue',
9494
'polling_interval' => 1000,
@@ -100,7 +100,7 @@ public static function provideConfigs()
100100
'pgsql:',
101101
[
102102
'connection' => [
103-
'url' => 'pgsql://root@localhost'
103+
'url' => 'pgsql://root@localhost',
104104
],
105105
'table_name' => 'enqueue',
106106
'polling_interval' => 1000,
@@ -166,7 +166,7 @@ public static function provideConfigs()
166166
[
167167
'connection' => [
168168
'foo' => 'fooValue',
169-
'url' => 'pdo_mysql://user:pass@host:10000/db'
169+
'url' => 'pdo_mysql://user:pass@host:10000/db',
170170
],
171171
'table_name' => 'enqueue',
172172
'polling_interval' => 1000,
@@ -178,7 +178,7 @@ public static function provideConfigs()
178178
'mysql://user:pass@host:10000/db',
179179
[
180180
'connection' => [
181-
'url' => 'pdo_mysql://user:pass@host:10000/db'
181+
'url' => 'pdo_mysql://user:pass@host:10000/db',
182182
],
183183
'table_name' => 'enqueue',
184184
'polling_interval' => 1000,
@@ -190,7 +190,7 @@ public static function provideConfigs()
190190
'mysql+pdo://user:pass@host:10001/db',
191191
[
192192
'connection' => [
193-
'url' => 'pdo_mysql://user:pass@host:10001/db'
193+
'url' => 'pdo_mysql://user:pass@host:10001/db',
194194
],
195195
'table_name' => 'enqueue',
196196
'polling_interval' => 1000,
@@ -227,7 +227,7 @@ public static function provideConfigs()
227227
['dsn' => 'mysql+pdo://user:pass@host:10001/db', 'foo' => 'fooVal'],
228228
[
229229
'connection' => [
230-
'url' => 'pdo_mysql://user:pass@host:10001/db'
230+
'url' => 'pdo_mysql://user:pass@host:10001/db',
231231
],
232232
'table_name' => 'enqueue',
233233
'polling_interval' => 1000,

pkg/dbal/Tests/DbalConnectionFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function testShouldParseGenericDSN()
5050
) {
5151
// DBAL < 4
5252
$this->assertArrayHasKey('url', $config['connection']);
53-
$this->assertEquals('pdo-pgsql://foo@bar', $config['connection']['url']);
53+
$this->assertEquals('pdo_pgsql://foo@bar', $config['connection']['url']);
5454
} else {
5555
// DBAL >= 4
5656
$this->assertArrayHasKey('driver', $config['connection']);
@@ -76,7 +76,7 @@ public function testShouldParseSqliteAbsolutePathDSN()
7676
) {
7777
// DBAL < 4
7878
$this->assertArrayHasKey('url', $config['connection']);
79-
$this->assertEquals('pdo-sqlite:////tmp/some.sq3', $config['connection']['url']);
79+
$this->assertEquals('pdo_sqlite:////tmp/some.sq3', $config['connection']['url']);
8080
} else {
8181
// DBAL >= 4
8282
$this->assertArrayHasKey('path', $config['connection']);

0 commit comments

Comments
 (0)