Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codabrink committed Oct 30, 2024
1 parent 7224f6c commit bb232f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
3 changes: 1 addition & 2 deletions xmtp_mls/src/groups/device_sync/consent_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub(crate) mod tests {
amal_a.set_consent_states(&[consent_record]).await.unwrap();

// Ensure that consent record now exists.
let syncable_consent_records = amal_a.syncable_consent_records(&amal_a_conn).unwrap();
let syncable_consent_records = amal_a.syncable_consent_records(amal_a_conn).unwrap();
assert_eq!(syncable_consent_records.len(), 1);

// The first installation should have zero sync groups.
Expand All @@ -115,7 +115,6 @@ pub(crate) mod tests {
// Create a second installation for amal.
let amal_b = ClientBuilder::new_test_client(&wallet).await;
let amal_b_provider = amal_b.mls_provider().unwrap();
let amal_b_conn = amal_b_provider.conn_ref();
// Turn on history sync for the second installation.
assert_ok!(amal_b.enable_history_sync(&amal_b_provider).await);
// Check for new welcomes to new groups in the first installation (should be welcomed to a new sync group from amal_b).
Expand Down
9 changes: 1 addition & 8 deletions xmtp_mls/src/groups/device_sync/message_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,7 @@ pub(crate) mod tests {
const HISTORY_SERVER_PORT: u16 = 5558;

use super::*;
use crate::{
assert_ok,
builder::ClientBuilder,
groups::{
scoped_client::{LocalScopedGroupClient, ScopedGroupClient},
GroupMetadataOptions,
},
};
use crate::{assert_ok, builder::ClientBuilder, groups::GroupMetadataOptions};
use mockito;
use xmtp_cryptography::utils::generate_local_wallet;
use xmtp_id::InboxOwner;
Expand Down

0 comments on commit bb232f7

Please sign in to comment.