aboutsummaryrefslogtreecommitdiff
path: root/internal/db/ssh_key_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/ssh_key_test.go')
-rw-r--r--internal/db/ssh_key_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/db/ssh_key_test.go b/internal/db/ssh_key_test.go
index 9bf49413..dfd945b6 100644
--- a/internal/db/ssh_key_test.go
+++ b/internal/db/ssh_key_test.go
@@ -14,11 +14,8 @@ import (
"gogs.io/gogs/internal/conf"
)
-func init() {
- conf.MustInit("")
-}
-
func Test_SSHParsePublicKey(t *testing.T) {
+ conf.MustInit("")
testKeys := map[string]struct {
typeName string
length int