stable

Clone or download

Read-only

refactor: Have a business object to create inline comments

No functional change expected when creating a new inline comment through the REST API. part of story #32316 Update comments Change-Id: Ia847fccb7a6d4c198f5338f41c145907d471b06a

Modified Files

Name
A plugins/pullrequest/include/PullRequest/InlineComment/CreateInlineComment.php +28 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/Dao.php +11 −11 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/InlineCommentCreator.php +19 −16 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/NewInlineComment.php +47 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +2 −2 Go to diff View file
M plugins/pullrequest/tests/integration/InlineComment/InlineCommentDAOTest.php +36 −55 Go to diff View file
M plugins/pullrequest/tests/unit/InlineComment/InlineCommentCreatorTest.php +73 −84 Go to diff View file
A plugins/pullrequest/tests/unit/Tests/Builders/NewInlineCommentTestBuilder.php +87 −0 Go to diff View file
A plugins/pullrequest/tests/unit/Tests/Stub/CreateInlineCommentStub.php +50 −0 Go to diff View file