summaryrefslogtreecommitdiffstats
path: root/models/ssh_key_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/ssh_key_test.go')
-rw-r--r--models/ssh_key_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/ssh_key_test.go b/models/ssh_key_test.go
index cc78f2604b..b52a36bdbd 100644
--- a/models/ssh_key_test.go
+++ b/models/ssh_key_test.go
@@ -16,7 +16,7 @@ import (
func init() {
setting.SetCustomPathAndConf("", "", "")
- setting.NewContext()
+ setting.LoadForTest()
}
func Test_SSHParsePublicKey(t *testing.T) {