Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit d054bf1

Browse files
nuxwinweierophinney
authored andcommitted
Adds missing test
1 parent 146802a commit d054bf1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/UserRepository/PdoDatabaseFactoryTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ public function getPdoInvalidConfig()
5151
{
5252
return [
5353
[[]],
54+
[[
55+
'service' => PDO::class,
56+
]],
5457
[[
5558
'service' => PDO::class,
5659
'table' => 'test'
@@ -112,7 +115,7 @@ public function getPdoValidConfig()
112115
{
113116
return [
114117
[[
115-
'service' => \PDO::class,
118+
'service' => PDO::class,
116119
'table' => 'user',
117120
'field' => [
118121
'identity' => 'username',

0 commit comments

Comments
 (0)