| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function testStatement() |
||
| 28 | { |
||
| 29 | $update = new Update('test_table', ['name' => 'test'], ['id' => 1]); |
||
| 30 | $expectedStatement = "UPDATE `test_table` SET `name` = :set_name WHERE `test_table`.`id` = :andFields_test_table_id;"; |
||
| 31 | |||
| 32 | $this->assertEquals($expectedStatement, $update->statement()); |
||
| 33 | } |
||
| 34 | } |