aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo_list_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-04-26 02:59:10 +0800
committerLauris BH <lauris@nix.lv>2019-04-25 21:59:10 +0300
commit199faadea3ff40880d70c8bc031aab800720330d (patch)
tree274117bd848e3cbf9c7f9fb3057814fd76552e83 /models/repo_list_test.go
parente8f4c7733a822eb6bb04909dbf70f2de679522b7 (diff)
downloadgitea-199faadea3ff40880d70c8bc031aab800720330d.tar.gz
gitea-199faadea3ff40880d70c8bc031aab800720330d.zip
Fix org visibility bug when git cloning (#6743)
* fix org visibility bug * fix permission check * add integration tests * fix tests * change test user name for easier maintainance and fix test * fix test git repo name
Diffstat (limited to 'models/repo_list_test.go')
-rw-r--r--models/repo_list_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_list_test.go b/models/repo_list_test.go
index 96ee8821b6..e871c612f0 100644
--- a/models/repo_list_test.go
+++ b/models/repo_list_test.go
@@ -150,7 +150,7 @@ func TestSearchRepositoryByName(t *testing.T) {
count: 21},
{name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborative",
opts: &SearchRepoOptions{Page: 1, PageSize: 10, OwnerID: 15, Private: true, AllPublic: true},
- count: 25},
+ count: 26},
{name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborativeByName",
opts: &SearchRepoOptions{Keyword: "test", Page: 1, PageSize: 10, OwnerID: 15, Private: true, AllPublic: true},
count: 15},