From 09d18f909726376641d7ebb62c885de2c0810d0c Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 13 May 2025 00:20:51 +0000 Subject: [PATCH] test: fixup for test_restore_backup_after_60_days --- src/chat/chat_tests.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chat/chat_tests.rs b/src/chat/chat_tests.rs index 37c983e73..ba13e3e4b 100644 --- a/src/chat/chat_tests.rs +++ b/src/chat/chat_tests.rs @@ -3868,8 +3868,10 @@ async fn test_restore_backup_after_60_days() -> Result<()> { alice.recv_msg(&bob_sent_text).await; fiona.recv_msg(&bob_sent_text).await; + // Alice did not knew that Charlie is not part of the group + // when sending a message, so sent it to Charlie. bob.recv_msg(&alice_sent_text).await; - fiona.recv_msg(&alice_sent_text).await; + charlie.recv_msg(&alice_sent_text).await; // Alice should have learned about Charlie not being part of the group // by receiving Bob's message.