crypto: Fix the unknown method tests fot the SAS state transitions.

master
Damir Jelić 2020-08-11 11:51:34 +02:00
parent 6c85d3e28f
commit 72168ce084
1 changed files with 0 additions and 2 deletions

View File

@ -990,7 +990,6 @@ mod test {
let (alice, bob) = get_sas_pair().await;
let mut event = wrap_to_device_event(bob.user_id(), bob.as_content());
event.sender = UserId::try_from("@malory:example.org").unwrap();
match &mut event.content.method {
AcceptMethod::MSasV1(ref mut c) => {
@ -1009,7 +1008,6 @@ mod test {
let (alice, bob) = get_sas_pair().await;
let mut event = wrap_to_device_event(bob.user_id(), bob.as_content());
event.sender = UserId::try_from("@malory:example.org").unwrap();
event.content.method = AcceptMethod::Custom(CustomContent {
method: "m.sas.custom".to_string(),