aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzz/fuzz_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz/fuzz_test.go')
-rw-r--r--tests/fuzz/fuzz_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/fuzz/fuzz_test.go b/tests/fuzz/fuzz_test.go
index 6a7d9d2d32..25a6ed8213 100644
--- a/tests/fuzz/fuzz_test.go
+++ b/tests/fuzz/fuzz_test.go
@@ -15,8 +15,10 @@ import (
)
var renderContext = markup.RenderContext{
- Ctx: context.Background(),
- URLPrefix: "https://example.com/go-gitea/gitea",
+ Ctx: context.Background(),
+ Links: markup.Links{
+ Base: "https://example.com/go-gitea/gitea",
+ },
Metas: map[string]string{
"user": "go-gitea",
"repo": "gitea",