From 3b6e738ac4187df873bde7bf33a5be5246e8c442 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Fri, 29 Nov 2024 10:28:16 +0000 Subject: [PATCH] task(crypto_tests): Remove duplicate test --- .../src/types/events/utd_cause.rs | 14 -------------- 1 file changed, 14 deletions(-) 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.