Bläddra i källkod

2nd attempt at re-request APIMergePullRequest (#13468) (#13490)

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
tags/v1.13.0-rc2
6543 3 år sedan
förälder
incheckning
797cb38a4a
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4
    0
      integrations/api_helper_for_declarative_test.go

+ 4
- 0
integrations/api_helper_for_declarative_test.go Visa fil

@@ -235,6 +235,10 @@ func doAPIMergePullRequest(ctx APITestContext, owner, repo string, index int64)
DecodeJSON(t, resp, &err)
assert.EqualValues(t, "Please try again later", err.Message)
queue.GetManager().FlushAll(context.Background(), 5*time.Second)
req = NewRequestWithJSON(t, http.MethodPost, urlStr, &auth.MergePullRequestForm{
MergeMessageField: "doAPIMergePullRequest Merge",
Do: string(models.MergeStyleMerge),
})
resp = ctx.Session.MakeRequest(t, req, NoExpectedStatus)
}


Laddar…
Avbryt
Spara