forked from forgejo/forgejo
Expand fixtures (#2571)
* Add more repo search tests * Add and fix /api/repo/search integration tests * Add owner to access table for organization repositories * Remove tests
This commit is contained in:
parent
b4b0280e33
commit
ca68a75b5b
8 changed files with 204 additions and 1 deletions
|
@ -252,7 +252,7 @@ func TestOrganizations(t *testing.T) {
|
|||
[]int64{3, 6})
|
||||
|
||||
testSuccess(&SearchUserOptions{OrderBy: "id ASC", Page: 2, PageSize: 2},
|
||||
[]int64{7})
|
||||
[]int64{7, 17})
|
||||
|
||||
testSuccess(&SearchUserOptions{Page: 3, PageSize: 2},
|
||||
[]int64{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue