diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-12-12 20:45:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 20:45:21 +0800 |
commit | 36a2d2f919ee445f0374c210309b336e7c3c1f8e (patch) | |
tree | 05163a55f16f3e62ab9e3757e5ada977e1fdd6da /models/repo | |
parent | 6398ca745aabdc40f10465e71da99c5a3866990e (diff) | |
download | gitea-36a2d2f919ee445f0374c210309b336e7c3c1f8e.tar.gz gitea-36a2d2f919ee445f0374c210309b336e7c3c1f8e.zip |
Add a simple test for external renderer (#20033)
Fix #16402
Diffstat (limited to 'models/repo')
-rw-r--r-- | models/repo/repo_list_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/repo/repo_list_test.go b/models/repo/repo_list_test.go index bfbceb7e2e..d87d70c189 100644 --- a/models/repo/repo_list_test.go +++ b/models/repo/repo_list_test.go @@ -235,12 +235,12 @@ func TestSearchRepository(t *testing.T) { { name: "AllPublic/PublicRepositoriesOfUserIncludingCollaborative", opts: &repo_model.SearchRepoOptions{ListOptions: db.ListOptions{Page: 1, PageSize: 10}, OwnerID: 15, AllPublic: true, Template: util.OptionalBoolFalse}, - count: 28, + count: 29, }, { name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborative", opts: &repo_model.SearchRepoOptions{ListOptions: db.ListOptions{Page: 1, PageSize: 10}, OwnerID: 15, Private: true, AllPublic: true, AllLimited: true, Template: util.OptionalBoolFalse}, - count: 33, + count: 34, }, { name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborativeByName", @@ -255,7 +255,7 @@ func TestSearchRepository(t *testing.T) { { name: "AllPublic/PublicRepositoriesOfOrganization", opts: &repo_model.SearchRepoOptions{ListOptions: db.ListOptions{Page: 1, PageSize: 10}, OwnerID: 17, AllPublic: true, Collaborate: util.OptionalBoolFalse, Template: util.OptionalBoolFalse}, - count: 28, + count: 29, }, { name: "AllTemplates", |