mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 03:16:29 +03:00
test: Add unique offsets to ids generated by TestContext to increase test correctness (#7297)
and fix the mistakes in tests that get discovered by this. closes #6799
This commit is contained in:
@@ -616,7 +616,7 @@ mod tests {
|
||||
loop {
|
||||
let event = bob.evtracker.recv().await.unwrap();
|
||||
if let EventType::WebxdcRealtimeAdvertisementReceived { msg_id } = event.typ {
|
||||
assert!(msg_id == alice_webxdc.id);
|
||||
assert!(msg_id == bob_webxdc.id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user