mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
test: message with empty To: field should have a valid to_id
This commit is contained in:
@@ -2221,6 +2221,7 @@ Message content",
|
|||||||
|
|
||||||
let msg = t.get_last_msg().await;
|
let msg = t.get_last_msg().await;
|
||||||
assert_eq!(msg.chat_id, t.get_self_chat().await.id);
|
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)]
|
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
|
||||||
|
|||||||
Reference in New Issue
Block a user