File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5318,7 +5318,8 @@ mod tests {
5318
5318
/// Test that group updates are robust to lost messages and eventual out of order arrival.
5319
5319
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
5320
5320
async fn test_modify_chat_lost ( ) -> Result < ( ) > {
5321
- let alice = TestContext :: new_alice ( ) . await ;
5321
+ let mut tcm = TestContextManager :: new ( ) ;
5322
+ let alice = tcm. alice ( ) . await ;
5322
5323
5323
5324
let bob_id = Contact :: create ( & alice, "" , "bob@example.net" ) . await ?;
5324
5325
let claire_id = Contact :: create ( & alice, "" , "claire@foo.de" ) . await ?;
@@ -5340,7 +5341,7 @@ mod tests {
5340
5341
remove_contact_from_chat ( & alice, alice_chat_id, daisy_id) . await ?;
5341
5342
let remove2 = alice. pop_sent_msg ( ) . await ;
5342
5343
5343
- let bob = TestContext :: new_bob ( ) . await ;
5344
+ let bob = tcm . bob ( ) . await ;
5344
5345
5345
5346
bob. recv_msg ( & add) . await ;
5346
5347
let bob_chat_id = bob. get_last_msg ( ) . await . chat_id ;
You can’t perform that action at this time.
0 commit comments