TF-2610 Fix unit test for display attachment

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2024-02-20 16:08:21 +07:00
committed by Dat H. Pham
parent b9fb34083d
commit fd94381448
+2 -2
View File
@@ -118,12 +118,12 @@ void main() {
'GIVE attachmentG has disposition = `inline`\n'
'AND htmlBodyAttachments is empty\n'
'WHEN perform call `attachmentG.isOutsideAttachment()`\n'
'SHOULD return false',
'SHOULD return true',
() {
List<Attachment> htmlBodyAttachments = [];
bool result = attachmentG.isOutsideAttachment(htmlBodyAttachments);
expect(result, isFalse);
expect(result, isTrue);
});
test(