mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-06 02:39:21 +03:00
Added additional Attachment test
This commit is contained in:
parent
59d5b8ffc8
commit
fffa423429
@ -120,6 +120,10 @@ class MessageTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertCount(2, $attachments);
|
||||
foreach($attachments as $attachment)
|
||||
$this->assertInstanceOf('\Fetch\Attachment', $attachment, 'getAttachments returns Fetch\Attachment objects.');
|
||||
|
||||
|
||||
$attachment = $messageWithAttachments->getAttachments('Test_card.png.zip');
|
||||
$this->assertInstanceOf('\Fetch\Attachment', $attachment, 'getAttachment returns specified Fetch\Attachment object.');
|
||||
}
|
||||
|
||||
public function testCheckFlag()
|
||||
|
Loading…
x
Reference in New Issue
Block a user