summaryrefslogtreecommitdiffstats
path: root/models/ssh_key_test.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-04-29 19:08:21 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-04-29 14:08:21 -0400
commit8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139 (patch)
tree0a8817abd2512ca2ebccfd4e5dc08814933aad2b /models/ssh_key_test.go
parentccf4783980effa871abaecd70d0f983c5062a187 (diff)
downloadgitea-8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139.tar.gz
gitea-8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139.zip
Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)
Diffstat (limited to 'models/ssh_key_test.go')
-rw-r--r--models/ssh_key_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/ssh_key_test.go b/models/ssh_key_test.go
index beb4556b8b..f310935a32 100644
--- a/models/ssh_key_test.go
+++ b/models/ssh_key_test.go
@@ -14,6 +14,7 @@ import (
)
func init() {
+ setting.SetCustomPathAndConf("", "")
setting.NewContext()
}