Skip to content

Commit

Permalink
more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnight committed Jan 25, 2025
1 parent 27f7a5e commit 779a7ed
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions clientapi/routing/key_crosssigning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"strings"
"testing"

"github.com/element-hq/dendrite/userapi/types"

"github.com/element-hq/dendrite/setup/config"
"github.com/element-hq/dendrite/test"
"github.com/element-hq/dendrite/test/testrig"
Expand Down Expand Up @@ -134,9 +132,7 @@ func Test_UploadCrossSigningDeviceKeys_Unauthorised(t *testing.T) {
},
queryMasterKeysData: map[string]api.QueryMasterKeysResponse{
"@user:example.com": {
Key: &types.CrossSigningKey{
KeyData: spec.Base64Bytes("key1"),
},
Key: spec.Base64Bytes("key1"),
},
},
}
Expand Down Expand Up @@ -200,9 +196,7 @@ func Test_UploadCrossSigningDeviceKeys_ExistingKeysMismatch(t *testing.T) {
},
queryMasterKeysData: map[string]api.QueryMasterKeysResponse{
"@user:example.com": {
Key: &types.CrossSigningKey{
KeyData: spec.Base64Bytes("different_key"),
},
Key: spec.Base64Bytes("different_key"),
},
},
}
Expand Down

0 comments on commit 779a7ed

Please sign in to comment.