Skip to content

Commit e818e91

Browse files
authored
Fixed individual markdown tests. (#15802)
1 parent a98c09d commit e818e91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/markup/markdown/markdown_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ Here is a simple footnote,[^1] and here is a longer one.[^bignote]
269269
}
270270

271271
func TestTotal_RenderWiki(t *testing.T) {
272+
setting.AppURL = AppURL
273+
setting.AppSubURL = AppSubURL
274+
272275
answers := testAnswers(util.URLJoin(AppSubURL, "wiki/"), util.URLJoin(AppSubURL, "wiki", "raw/"))
273276

274277
for i := 0; i < len(sameCases); i++ {
@@ -305,6 +308,9 @@ func TestTotal_RenderWiki(t *testing.T) {
305308
}
306309

307310
func TestTotal_RenderString(t *testing.T) {
311+
setting.AppURL = AppURL
312+
setting.AppSubURL = AppSubURL
313+
308314
answers := testAnswers(util.URLJoin(AppSubURL, "src", "master/"), util.URLJoin(AppSubURL, "raw", "master/"))
309315

310316
for i := 0; i < len(sameCases); i++ {

0 commit comments

Comments
 (0)