File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,11 +180,11 @@ func TestKeyClaimOrdering(t *testing.T) {
180180 deployment := complement .Deploy (t , 1 )
181181 defer deployment .Destroy (t )
182182 alice := deployment .Register (t , "hs1" , helpers.RegistrationOpts {})
183- _ , oneTimeKeys := alice .MustGenerateOneTimeKeys (t , 2 )
183+ deviceKeys , oneTimeKeys := alice .MustGenerateOneTimeKeys (t , 2 )
184184
185185 // first upload key 1, sleep a bit, then upload key 0.
186186 otk1 := map [string ]interface {}{"signed_curve25519:1" : oneTimeKeys ["signed_curve25519:1" ]}
187- alice .MustUploadKeys (t , nil , otk1 )
187+ alice .MustUploadKeys (t , deviceKeys , otk1 )
188188 // Ensure that there is a difference in timestamp between the two upload requests.
189189 time .Sleep (1 * time .Second )
190190
You can’t perform that action at this time.
0 commit comments