aboutsummaryrefslogtreecommitdiffstats
path: root/services/asymkey/ssh_key_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/asymkey/ssh_key_test.go')
-rw-r--r--services/asymkey/ssh_key_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/asymkey/ssh_key_test.go b/services/asymkey/ssh_key_test.go
index 182371271a..9bc23a719c 100644
--- a/services/asymkey/ssh_key_test.go
+++ b/services/asymkey/ssh_key_test.go
@@ -18,7 +18,7 @@ import (
func TestAddLdapSSHPublicKeys(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDatabase())
- user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2}).(*user_model.User)
+ user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2})
s := &auth.Source{ID: 1}
testCases := []struct {