diff options
author | KN4CK3R <KN4CK3R@users.noreply.github.com> | 2021-05-09 15:29:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 15:29:49 +0200 |
commit | e818e9150f63b5e68ec3018c61c1fae98b1eb1ed (patch) | |
tree | 94b949689140f8aaf20dd060f38ab94e43861932 /modules/markup | |
parent | a98c09d2aef6160019451c628c4e05d1f9987302 (diff) | |
download | gitea-e818e9150f63b5e68ec3018c61c1fae98b1eb1ed.tar.gz gitea-e818e9150f63b5e68ec3018c61c1fae98b1eb1ed.zip |
Fixed individual markdown tests. (#15802)
Diffstat (limited to 'modules/markup')
-rw-r--r-- | modules/markup/markdown/markdown_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/markup/markdown/markdown_test.go b/modules/markup/markdown/markdown_test.go index 5997dbccdc..46a380aa6c 100644 --- a/modules/markup/markdown/markdown_test.go +++ b/modules/markup/markdown/markdown_test.go @@ -269,6 +269,9 @@ Here is a simple footnote,[^1] and here is a longer one.[^bignote] } func TestTotal_RenderWiki(t *testing.T) { + setting.AppURL = AppURL + setting.AppSubURL = AppSubURL + answers := testAnswers(util.URLJoin(AppSubURL, "wiki/"), util.URLJoin(AppSubURL, "wiki", "raw/")) for i := 0; i < len(sameCases); i++ { @@ -305,6 +308,9 @@ func TestTotal_RenderWiki(t *testing.T) { } func TestTotal_RenderString(t *testing.T) { + setting.AppURL = AppURL + setting.AppSubURL = AppSubURL + answers := testAnswers(util.URLJoin(AppSubURL, "src", "master/"), util.URLJoin(AppSubURL, "raw", "master/")) for i := 0; i < len(sameCases); i++ { |