AddEmbeddedImageTest: add extra test case for `testFailToAttach()` method

... mirroring the same test in the `testEmbeddedImageEncodingException()` method.
This commit is contained in:
jrfnl 2021-07-04 15:23:26 +02:00
parent 028b503624
commit eb666a7e5d
1 changed files with 6 additions and 0 deletions

View File

@ -135,6 +135,12 @@ final class AddEmbeddedImageTest extends PreSendTestCase
'path' => 'thisfiledoesntexist',
'cid' => 'xyz',
],
'Invalid: invalid encoding' => [
'path' => __FILE__,
'cid' => 'cid',
'name' => 'test.png',
'encoding' => 'invalidencoding',
],
];
}