aboutsummaryrefslogtreecommitdiffstats
path: root/services/markup/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/markup/main_test.go')
-rw-r--r--services/markup/main_test.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/services/markup/main_test.go b/services/markup/main_test.go
new file mode 100644
index 0000000000..8efd08e69d
--- /dev/null
+++ b/services/markup/main_test.go
@@ -0,0 +1,19 @@
+// Copyright 2022 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package markup
+
+import (
+ "path/filepath"
+ "testing"
+
+ "code.gitea.io/gitea/models/unittest"
+)
+
+func TestMain(m *testing.M) {
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", ".."),
+ FixtureFiles: []string{"user.yml"},
+ })
+}