1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Add a simple test for external renderer (#20033)

Fix #16402
This commit is contained in:
Lunny Xiao
2022-12-12 20:45:21 +08:00
committed by GitHub
parent 6398ca745a
commit 36a2d2f919
24 changed files with 178 additions and 9 deletions

View File

@ -26,7 +26,7 @@ func TestArchivedIssues(t *testing.T) {
// Assume: User 30 has access to two Repos with Issues, one of the Repos being archived.
repos, _, _ := repo_model.GetUserRepositories(&repo_model.SearchRepoOptions{Actor: ctx.Doer})
assert.Len(t, repos, 2)
assert.Len(t, repos, 3)
IsArchived := make(map[int64]bool)
NumIssues := make(map[int64]int)
for _, repo := range repos {