forked from forgejo/forgejo
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:
parent
faf4b503b2
commit
1a5fe4326f
6 changed files with 71 additions and 80 deletions
|
@ -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},
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue