test(gateway): include direct_messages_topic_id in telegram DM metadata assertions
This commit is contained in:
parent
06924e827c
commit
dfc6ea72c1
@ -316,6 +316,7 @@ class TestRunBackgroundTask:
|
||||
assert mock_adapter.send.call_args.kwargs["metadata"] == {
|
||||
"thread_id": "20197",
|
||||
"telegram_dm_topic_reply_fallback": True,
|
||||
"direct_messages_topic_id": "20197",
|
||||
"telegram_reply_to_message_id": "463",
|
||||
}
|
||||
|
||||
|
||||
@ -408,6 +408,7 @@ async def test_gateway_runner_busy_ack_replies_to_triggering_message_for_telegra
|
||||
assert adapter.calls[0]["metadata"] == {
|
||||
"thread_id": "20197",
|
||||
"telegram_dm_topic_reply_fallback": True,
|
||||
"direct_messages_topic_id": "20197",
|
||||
"telegram_reply_to_message_id": "463",
|
||||
}
|
||||
|
||||
|
||||
@ -461,6 +461,7 @@ class TestSendVoiceReply:
|
||||
assert call_kwargs["metadata"] == {
|
||||
"thread_id": "20197",
|
||||
"telegram_dm_topic_reply_fallback": True,
|
||||
"direct_messages_topic_id": "20197",
|
||||
"telegram_reply_to_message_id": "462",
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user