Skip to content

Commit 89fd1f7

Browse files
committed
events tests: Fix wrong test input
Thanks to Greg for catching this: #299 (comment)
1 parent 8da16f1 commit 89fd1f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/api/model/events_test.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ void main() {
5757
...baseJson, 'flag': 'read',
5858
})).throws();
5959
check(() => UpdateMessageFlagsRemoveEvent.fromJson({
60-
...baseJson, 'message_details': {'123': {'type': 'private', 'mentioned': false, 'user_ids': [2]}},
60+
...baseJson,
61+
'flag': 'read',
62+
'message_details': {'123': {'type': 'private', 'mentioned': false, 'user_ids': [2]}},
6163
})).returnsNormally();
6264
});
6365
}

0 commit comments

Comments
 (0)