diff options
author | SagePtr <sageptr@gmail.com> | 2018-09-07 03:37:02 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-09-06 21:37:02 -0400 |
commit | bf552761894dee08f734d91f5c8175cd0cb2f9f5 (patch) | |
tree | 9287c1142d40ce49e1d407e25ebce08d2a9252a7 /models/repo_list_test.go | |
parent | 13e8a0fe56cfe13a900df07fffeb246077cfaa96 (diff) | |
download | gitea-bf552761894dee08f734d91f5c8175cd0cb2f9f5.tar.gz gitea-bf552761894dee08f734d91f5c8175cd0cb2f9f5.zip |
Fix redirect with non-ascii branch names (#4764) (#4810)
* Fix redirect with non-ascii branch names (#4764)
* Add integration tests for non-ascii branch redirect
* Fix mysql test and coverage test
Diffstat (limited to 'models/repo_list_test.go')
-rw-r--r-- | models/repo_list_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/repo_list_test.go b/models/repo_list_test.go index 164bc19bf0..4b5d659ce2 100644 --- a/models/repo_list_test.go +++ b/models/repo_list_test.go @@ -147,10 +147,10 @@ func TestSearchRepositoryByName(t *testing.T) { count: 14}, {name: "AllPublic/PublicRepositoriesOfUserIncludingCollaborative", opts: &SearchRepoOptions{Page: 1, PageSize: 10, OwnerID: 15, AllPublic: true}, - count: 16}, + count: 17}, {name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborative", opts: &SearchRepoOptions{Page: 1, PageSize: 10, OwnerID: 15, Private: true, AllPublic: true}, - count: 20}, + count: 21}, {name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborativeByName", opts: &SearchRepoOptions{Keyword: "test", Page: 1, PageSize: 10, OwnerID: 15, Private: true, AllPublic: true}, count: 13}, @@ -159,7 +159,7 @@ func TestSearchRepositoryByName(t *testing.T) { count: 11}, {name: "AllPublic/PublicRepositoriesOfOrganization", opts: &SearchRepoOptions{Page: 1, PageSize: 10, OwnerID: 17, AllPublic: true, Collaborate: util.OptionalBoolFalse}, - count: 16}, + count: 17}, } for _, testCase := range testCases { |