Skip to content

test: fix mismatch between the contact and the account in securejoin tests #6798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/securejoin/securejoin_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ async fn test_setup_contact_bob_knows_alice() -> Result<()> {
.expect("Error looking up contact")
.expect("Contact not found");
let contact_alice = Contact::get_by_id(&bob.ctx, contact_alice_id).await?;
assert_eq!(contact_bob.is_verified(&bob.ctx).await?, false);
assert_eq!(contact_alice.is_verified(&bob.ctx).await?, false);

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

// Step 7: Bob receives vg-member-added
bob.recv_msg(&sent).await;
Expand Down
Loading