test: message with empty To: field should have a valid to_id

This commit is contained in:
link2xt
2025-01-04 21:23:10 +00:00
committed by l
parent d26a27484b
commit a7eab13ad6

View File

@@ -2221,6 +2221,7 @@ Message content",
let msg = t.get_last_msg().await;
assert_eq!(msg.chat_id, t.get_self_chat().await.id);
assert_eq!(msg.to_id, ContactId::SELF);
}
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]