| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function testPostConnect(): void |
||
| 14 | { |
||
| 15 | $connectionMock = $this->createMock(Connection::class); |
||
| 16 | $connectionMock->expects($this->once()) |
||
| 17 | ->method('exec') |
||
| 18 | ->with('PRAGMA foreign_keys = on'); |
||
| 19 | |||
| 20 | $listener = new SqliteSessionInit(); |
||
| 21 | $listener->postConnect(new ConnectionEventArgs($connectionMock)); |
||
| 22 | } |
||
| 30 |