Skip to content

Commit 11439ff

Browse files
committed
action_sheet test: Make test more realistic.
The message wouldn't otherwise appear in MentionsNarrow. Signed-off-by: Zixuan James Li <[email protected]>
1 parent cfce389 commit 11439ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/widgets/action_sheet_test.dart

+1-1
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)