| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public function testPostgresMakeCallsCreateConnection() |
||
| 23 | { |
||
| 24 | $pdo = new PDOStub(); |
||
| 25 | |||
| 26 | $factory = Mockery::mock(ConnectionFactory::class, [new Container()])->makePartial(); |
||
| 27 | $factory->shouldAllowMockingProtectedMethods(); |
||
| 28 | $conn = $factory->createConnection('pgsql', $pdo, 'database'); |
||
| 29 | |||
| 30 | $this->assertInstanceOf(PostgresConnection::class, $conn); |
||
| 31 | } |
||
| 44 |