aboutsummaryrefslogtreecommitdiff
path: root/internal/markup/markup_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/markup/markup_test.go')
-rw-r--r--internal/markup/markup_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/markup/markup_test.go b/internal/markup/markup_test.go
index 0e3beb76..be19047b 100644
--- a/internal/markup/markup_test.go
+++ b/internal/markup/markup_test.go
@@ -10,8 +10,8 @@ import (
. "github.com/smartystreets/goconvey/convey"
+ "gogs.io/gogs/internal/conf"
. "gogs.io/gogs/internal/markup"
- "gogs.io/gogs/internal/setting"
)
func Test_IsReadmeFile(t *testing.T) {
@@ -62,7 +62,7 @@ func Test_RenderIssueIndexPattern(t *testing.T) {
urlPrefix = "/prefix"
metas map[string]string = nil
)
- setting.AppSubURLDepth = 0
+ conf.Server.SubpathDepth = 0
Convey("To the internal issue tracker", func() {
Convey("It should not render anything when there are no mentions", func() {