Refactor template render (#36438)

This commit is contained in:
wxiaoguang authored and GitHub committed 2026-01-24 05:11:49 +00:00
1 parent 47717d4435
commit 9de659437e
31 files changed
+475 -459

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ func TestMilestonesForSpecificRepo(t *testing.T) {
}
func TestDashboardPagination(t *testing.T) {
ctx, _ := contexttest.MockContext(t, "/", contexttest.MockContextOption{Render: templates.HTMLRenderer()})
ctx, _ := contexttest.MockContext(t, "/", contexttest.MockContextOption{Render: templates.PageRenderer()})
page := context.NewPagination(10, 3, 1, 3)
setting.AppSubURL = "/SubPath"