Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public function testUpdateAddressTooLongNote(): void |
||
43 | { |
||
44 | $note = 'This is the note that exceeds forty symbols - the limit from Nova Poshta API'; |
||
45 | $this->expectException(RuntimeException::class); |
||
46 | $this->expectExceptionMessage('Note exceeds the limit of 40 symbols'); |
||
47 | $this->model->update([], $note); |
||
48 | } |
||
50 |