Skip to content

Commit ef165da

Browse files
committed
fixup the test
1 parent f4e350d commit ef165da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/chat.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8031,7 +8031,7 @@ mod tests {
80318031

80328032
// Bob sends a text message to the chat, without a tombstone for Charlie.
80338033
// Alice learns about Fiona.
8034-
let bob_sent_text = bob.send_text(alice_chat_id, "Message.").await;
8034+
let bob_sent_text = bob.send_text(bob_chat_id, "Message.").await;
80358035

80368036
tcm.section("Alice sends a message to stale chat");
80378037
let alice_sent_text = alice
@@ -8056,6 +8056,7 @@ mod tests {
80568056
// Alice should have also learned about Charlie not being part of the group
80578057
// by receiving Bob's message.
80588058
assert_eq!(get_chat_contacts(alice, alice_chat_id).await?.len(), 3);
8059+
assert!(!is_contact_in_chat(alice, alice_chat_id, alice_charlie_contact_id).await?);
80598060
assert_eq!(get_past_chat_contacts(alice, alice_chat_id).await?.len(), 0);
80608061

80618062
Ok(())

0 commit comments

Comments
 (0)