Skip to content

Commit 918bade

Browse files
authored
fix: Use bob.Do in test Rejects invalid device keys (#763)
1 parent 42e9010 commit 918bade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/csapi/upload_keys_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func TestUploadKey(t *testing.T) {
6666
},
6767
"one_time_keys": oneTimeKeys,
6868
})
69-
resp := bob.MustDo(t, "POST", []string{"_matrix", "client", "v3", "keys", "upload"}, reqBody)
69+
resp := bob.Do(t, "POST", []string{"_matrix", "client", "v3", "keys", "upload"}, reqBody)
7070
must.MatchResponse(t, resp, match.HTTPResponse{
7171
StatusCode: http.StatusBadRequest,
7272
JSON: []match.JSON{

0 commit comments

Comments
 (0)