Skip to content

Commit 1722cb8

Browse files
committed
test: fix mismatch between the contact and the account in securejoin tests
1 parent 49c300d commit 1722cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/securejoin/securejoin_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ async fn test_setup_contact_bob_knows_alice() -> Result<()> {
452452
.expect("Error looking up contact")
453453
.expect("Contact not found");
454454
let contact_alice = Contact::get_by_id(&bob.ctx, contact_alice_id).await?;
455-
assert_eq!(contact_bob.is_verified(&bob.ctx).await?, false);
455+
assert_eq!(contact_alice.is_verified(&bob.ctx).await?, false);
456456

457457
// Step 7: Bob receives vc-contact-confirm
458458
bob.recv_msg_trash(&sent).await;
@@ -636,7 +636,7 @@ async fn test_secure_join() -> Result<()> {
636636
.expect("Error looking up contact")
637637
.expect("Contact not found");
638638
let contact_alice = Contact::get_by_id(&bob.ctx, contact_alice_id).await?;
639-
assert_eq!(contact_bob.is_verified(&bob.ctx).await?, false);
639+
assert_eq!(contact_alice.is_verified(&bob.ctx).await?, false);
640640

641641
// Step 7: Bob receives vg-member-added
642642
bob.recv_msg(&sent).await;

0 commit comments

Comments
 (0)