AddEmbeddedImageTest: add extra test case for `testFailToAttach()` method
... mirroring the same test in the `testEmbeddedImageEncodingException()` method.
This commit is contained in:
parent
028b503624
commit
eb666a7e5d
|
|
@ -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',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue