Skip to content

Commit b241fc0

Browse files
committed
msglist test [nfc]: Support omitting channelId in prepare-outbox helpers
1 parent 31c85e9 commit b241fc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/model/message_list_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void main() {
127127

128128
Future<void> prepareOutboxMessages({
129129
required int count,
130-
required int channelId,
130+
int channelId = eg.defaultStreamMessageStreamId,
131131
String topic = 'some topic',
132132
}) async {
133133
for (int i = 0; i < count; i++) {
@@ -920,7 +920,7 @@ void main() {
920920

921921
Future<void> prepareFailedOutboxMessages(FakeAsync async, {
922922
required int count,
923-
required int channelId,
923+
int channelId = eg.defaultStreamMessageStreamId,
924924
String topic = 'some topic',
925925
}) async {
926926
for (int i = 0; i < count; i++) {

0 commit comments

Comments
 (0)