@@ -1529,12 +1529,12 @@ mod tests {
1529
1529
let ( _, second_one_time_keys, _) = account. keys_for_upload ( ) ;
1530
1530
assert ! ( !second_one_time_keys. is_empty( ) ) ;
1531
1531
1532
- let device_key_ids : BTreeSet < & OneTimeKeyId > =
1532
+ let one_time_key_ids : BTreeSet < & OneTimeKeyId > =
1533
1533
one_time_keys. keys ( ) . map ( Deref :: deref) . collect ( ) ;
1534
- let second_device_key_ids : BTreeSet < & OneTimeKeyId > =
1534
+ let second_one_time_key_ids : BTreeSet < & OneTimeKeyId > =
1535
1535
second_one_time_keys. keys ( ) . map ( Deref :: deref) . collect ( ) ;
1536
1536
1537
- assert_eq ! ( device_key_ids , second_device_key_ids ) ;
1537
+ assert_eq ! ( one_time_key_ids , second_one_time_key_ids ) ;
1538
1538
1539
1539
account. mark_keys_as_published ( ) ;
1540
1540
account. update_uploaded_key_count ( 50 ) ;
@@ -1549,10 +1549,10 @@ mod tests {
1549
1549
let ( _, fourth_one_time_keys, _) = account. keys_for_upload ( ) ;
1550
1550
assert ! ( !fourth_one_time_keys. is_empty( ) ) ;
1551
1551
1552
- let fourth_device_key_ids : BTreeSet < & OneTimeKeyId > =
1552
+ let fourth_one_time_key_ids : BTreeSet < & OneTimeKeyId > =
1553
1553
fourth_one_time_keys. keys ( ) . map ( Deref :: deref) . collect ( ) ;
1554
1554
1555
- assert_ne ! ( device_key_ids , fourth_device_key_ids ) ;
1555
+ assert_ne ! ( one_time_key_ids , fourth_one_time_key_ids ) ;
1556
1556
Ok ( ( ) )
1557
1557
}
1558
1558
0 commit comments