1
0
Fork 0
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:
Morlinest 2017-09-22 12:51:16 +02:00 committed by Lauris BH
parent b4b0280e33
commit ca68a75b5b
8 changed files with 204 additions and 1 deletions

View file

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