mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 08:21:21 +00:00
Minor tweaks
This commit is contained in:
@@ -74,8 +74,10 @@ public class GHMilestoneTest extends AbstractGitHubWireMockTest {
|
||||
public void testUnsetMilestoneFromPullRequest() throws IOException {
|
||||
GHRepository repo = getRepository();
|
||||
GHMilestone milestone = repo.createMilestone("Unset Test Milestone", "For testUnsetMilestone");
|
||||
GHPullRequest p = getRepository()
|
||||
.createPullRequest("testUnsetMilestoneFromPullRequest", "test/stable", "master", "## test");
|
||||
GHPullRequest p = repo.createPullRequest("testUnsetMilestoneFromPullRequest",
|
||||
"test/stable",
|
||||
"master",
|
||||
"## test pull request");
|
||||
|
||||
// set the milestone
|
||||
p.setMilestone(milestone);
|
||||
|
||||
Reference in New Issue
Block a user