diff --git a/crates/matrix-sdk-crypto/src/types/events/utd_cause.rs b/crates/matrix-sdk-crypto/src/types/events/utd_cause.rs index 423abdba1b0..bc21ab5385d 100644 --- a/crates/matrix-sdk-crypto/src/types/events/utd_cause.rs +++ b/crates/matrix-sdk-crypto/src/types/events/utd_cause.rs @@ -156,20 +156,6 @@ mod tests { const BEFORE_EVENT_TIME: usize = 1111; const AFTER_EVENT_TIME: usize = 9999; - #[test] - fn test_a_missing_raw_event_means_we_guess_unknown() { - // When we don't provide any JSON to check for membership, then we guess the UTD - // is unknown. - assert_eq!( - UtdCause::determine( - &raw_event(json!({})), - device_new_with_backup(), - &missing_megolm_session() - ), - UtdCause::Unknown - ); - } - #[test] fn test_if_there_is_no_membership_info_we_guess_unknown() { // If our JSON contains no membership info, then we guess the UTD is unknown.