Skip to content

Commit

Permalink
Merge branch 'main' into ALLOW_ONLY_INTERNAL_REGISTRATION
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed May 9, 2021
2 parents 5d0070b + e818e91 commit 8ef0160
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/markup/markdown/markdown_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++ {
Expand Down Expand Up @@ -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++ {
Expand Down

0 comments on commit 8ef0160

Please sign in to comment.