test_reactions: Fix unnecessarily hard-coded user id.

This commit is contained in:
Mateusz Mandera 2021-07-09 20:54:04 +02:00 committed by Tim Abbott
parent 6ec5a9698f
commit ccd961b797
1 changed files with 3 additions and 3 deletions

View File

@ -104,11 +104,11 @@ class ReactionEmojiTest(ZulipTestCase):
"emoji_code": "1f642",
"reaction_type": "unicode_emoji",
"user": {
"email": "user10@zulip.testserver",
"id": 10,
"email": f"user{sender.id}@zulip.testserver",
"id": sender.id,
"full_name": "King Hamlet",
},
"user_id": 10,
"user_id": sender.id,
}
]
self.assertEqual(expected_reaction_data, message["reactions"])