mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +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:
@@ -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},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user