fix tests: update ReactionTypeCustomEmoji custom_emoji -> custom_emoji_id

This commit is contained in:
Suren Khorenyan 2023-12-30 22:51:34 +03:00
parent 6feeb61e51
commit ea8de685d8

View file

@ -465,7 +465,7 @@ class TestDispatcher:
user=User(id=42, is_bot=False, first_name="Test"),
date=datetime.datetime.now(),
old_reaction=[],
new_reaction=[ReactionTypeCustomEmoji(custom_emoji="qwerty")],
new_reaction=[ReactionTypeCustomEmoji(custom_emoji_id="qwerty")],
),
),
True,
@ -481,7 +481,7 @@ class TestDispatcher:
date=datetime.datetime.now(),
reactions=[
ReactionCount(
type=ReactionTypeCustomEmoji(custom_emoji="qwerty"),
type=ReactionTypeCustomEmoji(custom_emoji_id="qwerty"),
total_count=123,
),
],