Implement Draft Pull Request Feature #2319 (#2336)

This commit is contained in:
Joobi S B
2019-07-11 21:43:29 +05:30
committed by Naoki Takezoe
parent 6a3f51a784
commit 3c8026f135
12 changed files with 217 additions and 126 deletions

View File

@@ -139,7 +139,8 @@ object ApiSpecModels {
requestRepositoryName = repo1Name.name,
requestBranch = "new-topic",
commitIdFrom = sha1,
commitIdTo = sha1
commitIdTo = sha1,
isDraft = true
)
val commitComment = CommitComment(

View File

@@ -138,6 +138,7 @@ trait ServiceSpecBase extends MockitoSugar {
requestBranch = requestBranch,
commitIdFrom = baesBranch,
commitIdTo = requestBranch,
isDraft = false,
loginAccount = loginAccount.get
)
dummyService.getPullRequest(baseUserName, baseRepositoryName, issueId).get