mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
test: use add_or_lookup_email_contact in test_setup_contact_ex
This commit is contained in:
@@ -208,7 +208,7 @@ async fn test_setup_contact_ex(case: SetupContactCase) {
|
|||||||
.gossiped_keys
|
.gossiped_keys
|
||||||
.insert(alice_addr.to_string(), wrong_pubkey)
|
.insert(alice_addr.to_string(), wrong_pubkey)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let contact_bob = alice.add_or_lookup_contact(&bob).await;
|
let contact_bob = alice.add_or_lookup_email_contact(&bob).await;
|
||||||
let handshake_msg = handle_securejoin_handshake(&alice, &mut msg, contact_bob.id)
|
let handshake_msg = handle_securejoin_handshake(&alice, &mut msg, contact_bob.id)
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user