* Fix page and missing return on unadopted repos API Page must be 1 if it's not specified and it should return after sending an internal server error. * Allow ignore pages
This commit is contained in:
parent
4fb718d405
commit
054bc55a1c
5 changed files with 6 additions and 3 deletions
|
@ -445,7 +445,6 @@ func TestAPIRepoTransfer(t *testing.T) {
|
|||
expectedStatus int
|
||||
}{
|
||||
// Disclaimer for test story: "user1" is an admin, "user2" is normal user and part of in owner team of org "user3"
|
||||
|
||||
// Transfer to a user with teams in another org should fail
|
||||
{ctxUserID: 1, newOwner: "user3", teams: &[]int64{5}, expectedStatus: http.StatusForbidden},
|
||||
// Transfer to a user with non-existent team IDs should fail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue