Skip to content

Commit 115a5e5

Browse files
PIG208gnprice
authored andcommitted
action_sheet test: Create message with the appropriate flag.
Otherwise this message wouldn't be expected to appear in the messages fetched for MentionsNarrow. Signed-off-by: Zixuan James Li <[email protected]>
1 parent a2dc3ef commit 115a5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/widgets/action_sheet_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ void main() {
388388
});
389389

390390
testWidgets('not offered in MentionsNarrow (composing to reply is not yet supported)', (tester) async {
391-
final message = eg.streamMessage();
391+
final message = eg.streamMessage(flags: [MessageFlag.mentioned]);
392392
await setupToMessageActionSheet(tester, message: message, narrow: const MentionsNarrow());
393393
check(findQuoteAndReplyButton(tester)).isNull();
394394
});

0 commit comments

Comments
 (0)