mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed tests
This commit is contained in:
parent
ddb4da34fd
commit
af0d791410
3 changed files with 14 additions and 6 deletions
|
|
@ -9,6 +9,7 @@ class TestChatJoinRequest:
|
|||
chat_join_request = ChatJoinRequest(
|
||||
chat=Chat(id=-42, type="supergroup"),
|
||||
from_user=User(id=42, is_bot=False, first_name="Test"),
|
||||
user_chat_id=42,
|
||||
date=datetime.datetime.now(),
|
||||
)
|
||||
|
||||
|
|
@ -22,6 +23,7 @@ class TestChatJoinRequest:
|
|||
chat_join_request = ChatJoinRequest(
|
||||
chat=Chat(id=-42, type="supergroup"),
|
||||
from_user=User(id=42, is_bot=False, first_name="Test"),
|
||||
user_chat_id=42,
|
||||
date=datetime.datetime.now(),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue