summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2020-02-15 01:29:06 -0300
committerGitHub <noreply@github.com>2020-02-15 12:29:06 +0800
commit62a1322cf9940daa987ca16053f5081d7da54298 (patch)
tree760d0c18dd81dbe5b089941bc5e827ccd93491df /integrations
parenta97fe76950bf69ca71c9b790e8d0e76d5e870235 (diff)
downloadgitea-62a1322cf9940daa987ca16053f5081d7da54298.tar.gz
gitea-62a1322cf9940daa987ca16053f5081d7da54298.zip
Fix "access" fixtures and tests (#10247)
* Add fixture gen tool and fix "access" test * Close file before exiting * Add missing repo_unit for repo id: 5 * Fix count on TestAPIOrgRepos Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'integrations')
-rw-r--r--integrations/api_repo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_repo_test.go b/integrations/api_repo_test.go
index 715fc629aa..ff59fac5cb 100644
--- a/integrations/api_repo_test.go
+++ b/integrations/api_repo_test.go
@@ -231,7 +231,7 @@ func TestAPIOrgRepos(t *testing.T) {
includesPrivate bool
}{
nil: {count: 1},
- user: {count: 2, includesPrivate: true},
+ user: {count: 3, includesPrivate: true},
user2: {count: 3, includesPrivate: true},
user3: {count: 1},
}