File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import (
1010 "strings"
1111 "testing"
1212
13- "github.com/element-hq/dendrite/userapi/types"
14-
1513 "github.com/element-hq/dendrite/setup/config"
1614 "github.com/element-hq/dendrite/test"
1715 "github.com/element-hq/dendrite/test/testrig"
@@ -134,9 +132,7 @@ func Test_UploadCrossSigningDeviceKeys_Unauthorised(t *testing.T) {
134132 },
135133 queryMasterKeysData : map [string ]api.QueryMasterKeysResponse {
136134 "@user:example.com" : {
137- Key : & types.CrossSigningKey {
138- KeyData : spec .Base64Bytes ("key1" ),
139- },
135+ Key : spec .Base64Bytes ("key1" ),
140136 },
141137 },
142138 }
@@ -200,9 +196,7 @@ func Test_UploadCrossSigningDeviceKeys_ExistingKeysMismatch(t *testing.T) {
200196 },
201197 queryMasterKeysData : map [string ]api.QueryMasterKeysResponse {
202198 "@user:example.com" : {
203- Key : & types.CrossSigningKey {
204- KeyData : spec .Base64Bytes ("different_key" ),
205- },
199+ Key : spec .Base64Bytes ("different_key" ),
206200 },
207201 },
208202 }
You can’t perform that action at this time.
0 commit comments