mirror of
https://github.com/go-gitea/gitea
synced 2024-10-31 23:34:25 +00:00
parent
55e9228866
commit
7743f13bed
@ -334,7 +334,7 @@ func TestAPIRepoMigrate(t *testing.T) {
|
|||||||
case "You can not import from disallowed hosts.":
|
case "You can not import from disallowed hosts.":
|
||||||
assert.EqualValues(t, "private-ip", testCase.repoName)
|
assert.EqualValues(t, "private-ip", testCase.repoName)
|
||||||
default:
|
default:
|
||||||
assert.Fail(t, "unexpected error '%v' on url '%s'", respJSON["message"], testCase.cloneURL)
|
assert.Failf(t, "unexpected error '%v' on url '%s'", respJSON["message"], testCase.cloneURL)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
assert.EqualValues(t, testCase.expectedStatus, resp.Code)
|
assert.EqualValues(t, testCase.expectedStatus, resp.Code)
|
||||||
|
Loading…
Reference in New Issue
Block a user