Conditions | 1 |
Paths | 1 |
Total Lines | 4 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | public function testRenderError(): void |
||
42 | { |
||
43 | $this->expectException(MailerException::class); |
||
44 | $this->app->send(new Message('test', ['[email protected]'], ['name' => 'Antony'])); |
||
45 | } |
||
58 |
If you suppress an error, we recommend checking for the error condition explicitly: