| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function testExecutionErrorsAreNotSuppressed() |
||
| 27 | { |
||
| 28 | $stmt = $this->_conn->prepare('SELECT * FROM SYSIBM.SYSDUMMY1 WHERE \'foo\' = ?'); |
||
| 29 | |||
| 30 | // unwrap the statement to prevent the wrapper from handling the PHPUnit-originated exception |
||
| 31 | $wrappedStmt = $stmt->getWrappedStatement(); |
||
| 32 | |||
| 33 | $this->expectException(Notice::class); |
||
| 34 | $wrappedStmt->execute([[]]); |
||
| 35 | } |
||
| 37 |