| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function testUpdate() |
||
| 24 | { |
||
| 25 | $params = [ |
||
| 26 | 'user_id' => 1, |
||
| 27 | 'pause_formation' => 0, |
||
| 28 | 'start_pause_date' => '2020-06-30 10:00', |
||
| 29 | 'end_pause_date' => '2020-06-30 11:00', |
||
| 30 | 'allow_notifications' => 0, |
||
| 31 | ]; |
||
| 32 | $userId = $this->integer($params); |
||
| 33 | |||
| 34 | // assert each field was filled with provided information |
||
| 35 | $this->assertSame($userId, 1); |
||
| 36 | } |
||
| 38 |