aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/api_repo_test.go
diff options
context:
space:
mode:
authorDavid Svantesson <david.svantesson@qrtech.se>2019-12-07 05:21:18 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-12-06 23:21:18 -0500
commit9cb418e623a137fb03f6540517e6e5f4ff6e92cc (patch)
tree6bd9af2a628961647f02e86a9564b5b3c2e81875 /integrations/api_repo_test.go
parent82e0383d2104f454af5b3e0e768f0497113f3b13 (diff)
downloadgitea-9cb418e623a137fb03f6540517e6e5f4ff6e92cc.tar.gz
gitea-9cb418e623a137fb03f6540517e6e5f4ff6e92cc.zip
Redirect issue if repo has configured external tracker. (#9247)
* Redirect issue if repo has configured external tracker. * Handle error * Add tests for redirect * Fix test consistency
Diffstat (limited to 'integrations/api_repo_test.go')
-rw-r--r--integrations/api_repo_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/integrations/api_repo_test.go b/integrations/api_repo_test.go
index add546fb49..6c3835788d 100644
--- a/integrations/api_repo_test.go
+++ b/integrations/api_repo_test.go
@@ -70,9 +70,9 @@ func TestAPISearchRepo(t *testing.T) {
expectedResults
}{
{name: "RepositoriesMax50", requestURL: "/api/v1/repos/search?limit=50&private=false", expectedResults: expectedResults{
- nil: {count: 24},
- user: {count: 24},
- user2: {count: 24}},
+ nil: {count: 27},
+ user: {count: 27},
+ user2: {count: 27}},
},
{name: "RepositoriesMax10", requestURL: "/api/v1/repos/search?limit=10&private=false", expectedResults: expectedResults{
nil: {count: 10},