| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 29 | public function testCommitFalse() : void  | 
            ||
| 30 |     { | 
            ||
| 31 |         $this->connection->query('SET SESSION wait_timeout=1'); | 
            ||
| 32 | |||
| 33 | $this->assertTrue($this->connection->beginTransaction());  | 
            ||
| 34 | |||
| 35 | sleep(2); // during the sleep mysql will close the connection  | 
            ||
| 36 | |||
| 37 | $this->assertFalse(@$this->connection->commit()); // we will ignore `MySQL server has gone away` warnings  | 
            ||
| 38 | }  | 
            ||
| 40 |