stable
Clone or download
Read-only
How to test: There should be a new key "creator" in the JSON representation of pull requests returned by the following REST routes: - PATCH /pull_requests/{id} - GET /pull_requests/{id} - GET /git/{id}/pull_requests The new key holds a Minimal user representation, with their display name, profile URL and avatar href. No other functional change. part of story #33006 Create filters on my PR Change-Id: If8bc9fd16d5103532a7d0dd7a9586d94abf7f426
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestMinimalRepresentation.php | +3 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentation.php | +10 | −2 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentationFactory.php | +19 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php | +6 | −4 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php | +22 | −2 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/PullRequestMinimalRepresentationTest.php | +11 | −2 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/PullRequestRepresentationFactoryTest.php | +80 | −87 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/PullRequestRepresentationTest.php | +10 | −2 | Go to diff View file |
M | tests/lib/Stubs/RetrieveUserByIdStub.php | +3 | −3 | Go to diff View file |