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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/ssh_key_test.go b/internal/db/ssh_key_test.go
index 616347fb..9bf49413 100644
--- a/internal/db/ssh_key_test.go
+++ b/internal/db/ssh_key_test.go
@@ -11,11 +11,11 @@ import (
. "github.com/smartystreets/goconvey/convey"
- "gogs.io/gogs/internal/setting"
+ "gogs.io/gogs/internal/conf"
)
func init() {
- setting.Init()
+ conf.MustInit("")
}
func Test_SSHParsePublicKey(t *testing.T) {