aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo_list_test.go
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2017-08-23 03:30:54 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-08-23 09:30:54 +0800
commit1a5fe4326f1166eac447cb598db34f7ae348d610 (patch)
tree0ca4412138469051eda63a981b32353e2139698e /models/repo_list_test.go
parentfaf4b503b24d33a2a0f455d26bb782345ab8e0c9 (diff)
downloadgitea-1a5fe4326f1166eac447cb598db34f7ae348d610.tar.gz
gitea-1a5fe4326f1166eac447cb598db34f7ae348d610.zip
Add collaborative repositories to the dashboard (#2205)
* Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
Diffstat (limited to 'models/repo_list_test.go')
-rw-r--r--models/repo_list_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/repo_list_test.go b/models/repo_list_test.go
index 1fbfa935e9..9c8a526a43 100644
--- a/models/repo_list_test.go
+++ b/models/repo_list_test.go
@@ -42,6 +42,7 @@ func TestSearchRepositoryByName(t *testing.T) {
Keyword: "repo_13",
Page: 1,
PageSize: 10,
+ Private: true,
Searcher: &User{ID: 14},
})
@@ -54,6 +55,7 @@ func TestSearchRepositoryByName(t *testing.T) {
Keyword: "test_repo",
Page: 1,
PageSize: 10,
+ Private: true,
Searcher: &User{ID: 14},
})