From fd94381448519ac2975ee175cbd834716afe929f Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 20 Feb 2024 16:08:21 +0700 Subject: [PATCH] TF-2610 Fix unit test for display attachment Signed-off-by: dab246 --- model/test/attachment_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/test/attachment_test.dart b/model/test/attachment_test.dart index 43c8ba829..54dbcac89 100644 --- a/model/test/attachment_test.dart +++ b/model/test/attachment_test.dart @@ -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 htmlBodyAttachments = []; bool result = attachmentG.isOutsideAttachment(htmlBodyAttachments); - expect(result, isFalse); + expect(result, isTrue); }); test(