mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 17:06:35 +03:00
test: Don't accept contact request group before leaving
This commit is contained in:
@@ -739,7 +739,6 @@ async fn test_leave_group() -> Result<()> {
|
|||||||
|
|
||||||
tcm.section("Bob leaves the group.");
|
tcm.section("Bob leaves the group.");
|
||||||
let bob_chat_id = bob_msg.chat_id;
|
let bob_chat_id = bob_msg.chat_id;
|
||||||
bob_chat_id.accept(&bob).await?;
|
|
||||||
remove_contact_from_chat(&bob, bob_chat_id, ContactId::SELF).await?;
|
remove_contact_from_chat(&bob, bob_chat_id, ContactId::SELF).await?;
|
||||||
|
|
||||||
let leave_msg = bob.pop_sent_msg().await;
|
let leave_msg = bob.pop_sent_msg().await;
|
||||||
|
|||||||
Reference in New Issue
Block a user