stable

Clone or download

Read-only

feat: PATCH inline comment returns a representation

How to test: - Enable the feature flag: `tuleap config-set feature_flag_allow_pull_requests_comments_edition 1` - Use the API explorer to make a PATCH request to /pull_request_inline_comments/{id} route. - It will return the updated comment's representation, with the new content that was given and its last_edition_date will be the ISO date/time of the PATCH request. part of story #32316 Update comments Change-Id: I75e94be2e38cdbe6c24d223195189d7db13a43be

Modified Files

Name
R plugins/pullrequest/include/PullRequest/REST/v1/Comment/InlineCommentPATCHRepresentation.php Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/InlineComment/InlineCommentRepresentation.php +2 −0 Go to diff View file
R plugins/pullrequest/include/PullRequest/REST/v1/Comment/PATCHInlineCommentHandler.php Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentsResource.php +21 −7 Go to diff View file
R plugins/pullrequest/tests/unit/REST/v1/Comment/PATCHInlineCommentHandlerTest.php Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/InlineComment/SingleRepresentationBuilderTest.php +5 −1 Go to diff View file