crypto: Use Default to create some test data
This commit is contained in:
parent
5c0f0140e9
commit
9893ddba74
1 changed files with 2 additions and 2 deletions
|
@ -1345,7 +1345,7 @@ mod test {
|
|||
|
||||
*method = AcceptMethod::Custom(CustomContent {
|
||||
method: "m.sas.custom".to_string(),
|
||||
data: vec![].into_iter().collect(),
|
||||
data: Default::default(),
|
||||
});
|
||||
|
||||
alice
|
||||
|
@ -1394,7 +1394,7 @@ mod test {
|
|||
|
||||
*method = StartMethod::Custom(CustomStartContent {
|
||||
method: "m.sas.custom".to_string(),
|
||||
data: vec![].into_iter().collect(),
|
||||
data: Default::default(),
|
||||
});
|
||||
|
||||
SasState::<Started>::from_start_event(bob.clone(), alice_device, None, start_content)
|
||||
|
|
Loading…
Reference in a new issue