Massage the signature a bit.

AFAICT sha and merge_method are not mutually exclusive.
This commit is contained in:
Kohsuke Kawaguchi
2017-09-09 12:17:21 -07:00
parent fe2af19e42
commit 9012820c03
3 changed files with 9 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ public class PullRequestTest extends AbstractGitHubApiTestBase {
Thread.sleep(1000);
GHPullRequest p = getRepository().createPullRequest(name, name, "master", "## test squash");
Thread.sleep(1000);
p.merge("squash merge", GHPullRequest.MergeMethod.SQUASH);
p.merge("squash merge", null, GHPullRequest.MergeMethod.SQUASH);
branchRef.delete();
}