@@ -85,7 +85,7 @@ pub(crate) mod tests {
85
85
let alice = Account :: with_device_id ( alice_id ( ) , alice_device_id ( ) ) ;
86
86
let mut bob = Account :: with_device_id ( bob_id ( ) , bob_device_id ( ) ) ;
87
87
88
- bob. generate_one_time_keys_helper ( 1 ) ;
88
+ bob. generate_one_time_keys ( 1 ) ;
89
89
let one_time_key = * bob. one_time_keys ( ) . values ( ) . next ( ) . unwrap ( ) ;
90
90
let sender_key = bob. identity_keys ( ) . curve25519 ;
91
91
let session = alice. create_outbound_session_helper (
@@ -116,7 +116,7 @@ pub(crate) mod tests {
116
116
assert ! ( !one_time_keys. is_empty( ) ) ;
117
117
assert_ne ! ( account. max_one_time_keys( ) , 0 ) ;
118
118
119
- account. generate_one_time_keys_helper ( 10 ) ;
119
+ account. generate_one_time_keys ( 10 ) ;
120
120
let one_time_keys = account. one_time_keys ( ) ;
121
121
122
122
assert_ne ! ( one_time_keys. values( ) . len( ) , 0 ) ;
@@ -133,7 +133,7 @@ pub(crate) mod tests {
133
133
let mut alice = Account :: with_device_id ( alice_id ( ) , alice_device_id ( ) ) ;
134
134
let bob = Account :: with_device_id ( bob_id ( ) , bob_device_id ( ) ) ;
135
135
let alice_keys = alice. identity_keys ( ) ;
136
- alice. generate_one_time_keys_helper ( 1 ) ;
136
+ alice. generate_one_time_keys ( 1 ) ;
137
137
let one_time_keys = alice. one_time_keys ( ) ;
138
138
alice. mark_keys_as_published ( ) ;
139
139
0 commit comments