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

Commit c8b3363

Browse files
committed
Added test case for #40
1 parent 3df7c28 commit c8b3363

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/UserRepository/PdoDatabaseFactoryTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function testInvokeWithEmptyConfig()
4141
$this->container->get('config')->willReturn([]);
4242

4343
$this->expectException(InvalidConfigException::class);
44+
$this->expectExceptionMessage('PDO values are missing in authentication config');
4445
$pdoDatabase = ($this->factory)($this->container->reveal());
4546
}
4647

0 commit comments

Comments
 (0)