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 /integrations/api_repo_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 'integrations/api_repo_test.go')
-rw-r--r-- | integrations/api_repo_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/integrations/api_repo_test.go b/integrations/api_repo_test.go index aec8c8f81b..5dc2f88cb9 100644 --- a/integrations/api_repo_test.go +++ b/integrations/api_repo_test.go @@ -67,9 +67,9 @@ func TestAPISearchRepo(t *testing.T) { expectedResults }{ {name: "RepositoriesMax50", requestURL: "/api/v1/repos/search?limit=50", expectedResults: expectedResults{ - nil: {count: 16}, - user: {count: 16}, - user2: {count: 16}}, + nil: {count: 17}, + user: {count: 17}, + user2: {count: 17}}, }, {name: "RepositoriesMax10", requestURL: "/api/v1/repos/search?limit=10", expectedResults: expectedResults{ nil: {count: 10}, |