Skip to content

Commit

Permalink
task(crypto_tests): Remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam committed Dec 2, 2024
1 parent 553963b commit 3b6e738
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crates/matrix-sdk-crypto/src/types/events/utd_cause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3b6e738

Please sign in to comment.