mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 10:26:29 +03:00
test: fix test_sync_broadcast()
This commit is contained in:
@@ -4115,10 +4115,10 @@ async fn test_sync_broadcast() -> Result<()> {
|
||||
|
||||
// Alice1 and Alice2 are supposed to show the chat in the same way:
|
||||
alice1
|
||||
.golden_test_chat(a1_broadcast_id, "test_sync_broadcast_alice")
|
||||
.golden_test_chat(a1_broadcast_id, "test_sync_broadcast_alice1")
|
||||
.await;
|
||||
alice2
|
||||
.golden_test_chat(a2_broadcast_id, "test_sync_broadcast_alice")
|
||||
.golden_test_chat(a2_broadcast_id, "test_sync_broadcast_alice2")
|
||||
.await;
|
||||
|
||||
tcm.section("Alice's first device deletes the chat");
|
||||
|
||||
7
test-data/golden/test_sync_broadcast_alice1
Normal file
7
test-data/golden/test_sync_broadcast_alice1
Normal file
@@ -0,0 +1,7 @@
|
||||
OutBroadcast#Chat#10: Channel [0 member(s)]
|
||||
--------------------------------------------------------------------------------
|
||||
Msg#10: info (Contact#Contact#Info): Messages are end-to-end encrypted. [NOTICED][INFO]
|
||||
Msg#14🔒: Me (Contact#Contact#Self): Member bob@example.net added. [INFO] √
|
||||
Msg#16🔒: Me (Contact#Contact#Self): hi √
|
||||
Msg#17🔒: Me (Contact#Contact#Self): You removed member bob@example.net. [INFO] √
|
||||
--------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user