diff --git a/matrix_sdk_crypto/src/session_manager/sessions.rs b/matrix_sdk_crypto/src/session_manager/sessions.rs index 51dfcc5e..b074e305 100644 --- a/matrix_sdk_crypto/src/session_manager/sessions.rs +++ b/matrix_sdk_crypto/src/session_manager/sessions.rs @@ -316,8 +316,7 @@ mod test { use matrix_sdk_common::{ api::r0::keys::claim_keys::Response as KeyClaimResponse, - identifiers::{user_id, DeviceIdBox, DeviceKeyAlgorithm, UserId}, - instant::{Duration, Instant}, + identifiers::{user_id, DeviceIdBox, UserId}, }; use matrix_sdk_test::async_test; @@ -424,6 +423,11 @@ mod test { #[async_test] #[cfg(not(target_os = "linux"))] async fn session_unwedging() { + use matrix_sdk_common::{ + identifiers::DeviceKeyAlgorithm, + instant::{Duration, Instant}, + }; + let manager = session_manager().await; let bob = bob_account(); let (_, mut session) = bob.create_session_for(&manager.account).await;