1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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
This commit is contained in:
Bwko
2017-08-23 03:30:54 +02:00
committed by Lunny Xiao
parent faf4b503b2
commit 1a5fe4326f
6 changed files with 71 additions and 80 deletions

View File

@@ -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},
})