mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 13:52:46 +00:00
Fix senderID/key conversion unit tests
This commit is contained in:
parent
3f4df25b31
commit
8cf6c381e2
2 changed files with 4 additions and 3 deletions
|
@ -183,7 +183,7 @@ func TestUserRoomKeys(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
wantKeys := map[spec.RoomID]map[string]string{
|
||||
*roomID: {
|
||||
string(key.Public().(ed25519.PublicKey)): userID.String(),
|
||||
spec.Base64Bytes(key.Public().(ed25519.PublicKey)).Encode(): userID.String(),
|
||||
},
|
||||
}
|
||||
assert.Equal(t, wantKeys, userIDs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue