From ea8de685d832b608a02d5ddc0e44804be9ad1504 Mon Sep 17 00:00:00 2001 From: Suren Khorenyan Date: Sat, 30 Dec 2023 22:51:34 +0300 Subject: [PATCH] fix tests: update ReactionTypeCustomEmoji custom_emoji -> custom_emoji_id --- tests/test_dispatcher/test_dispatcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_dispatcher/test_dispatcher.py b/tests/test_dispatcher/test_dispatcher.py index 8d3c81e6..341279fc 100644 --- a/tests/test_dispatcher/test_dispatcher.py +++ b/tests/test_dispatcher/test_dispatcher.py @@ -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, ), ],