Skip to content

Commit 16862cd

Browse files
Niloth-ptimabbott
authored andcommitted
test_model: Align reactions schema with Get Message API endpoint.
The `reaction_event_index_factory` was previously generating reactions based on the Reaction Event schema.
1 parent de9a04f commit 16862cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/model/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2832,7 +2832,7 @@ def _factory(msgs: MsgsType):
28322832
"user": {
28332833
"email": f"User email #{user_id}",
28342834
"full_name": f"User #{user_id}",
2835-
"user_id": user_id,
2835+
"id": user_id,
28362836
},
28372837
"reaction_type": type,
28382838
"emoji_code": code,

0 commit comments

Comments
 (0)