Make the almighty linter happy again

This commit is contained in:
Till Faelligen 2023-06-02 16:44:38 +02:00
parent 0b70eead27
commit d4b1074fdf
No known key found for this signature in database
GPG key ID: ACCDC9606D472758
2 changed files with 2 additions and 0 deletions

View file

@ -126,6 +126,7 @@ func TestUserRoomKeys(t *testing.T) {
// again, this shouldn't result in an error, but return the existing key
_, key2, err := ed25519.GenerateKey(nil)
assert.NoError(t, err)
gotKey, err = db.InsertUserRoomKey(context.Background(), userNID, roomNID, key2)
assert.NoError(t, err)
assert.Equal(t, gotKey, key)

View file

@ -51,6 +51,7 @@ func TestUserRoomKeysTable(t *testing.T) {
// again, this shouldn't result in an error, but return the existing key
_, key2, err := ed25519.GenerateKey(nil)
assert.NoError(t, err)
gotKey, err = tab.InsertUserRoomKey(context.Background(), nil, userNID, roomNID, key2)
assert.NoError(t, err)
assert.Equal(t, gotKey, key)