Files
atlantis/server/events/vcs/testdata/azuredevops-pr.json
Ken Kaizu da48fb515d chore(test): add no test dir tests, rename testdata dir (#2986)
* add web_templates render tests

* add ansic strip tests

* move fixtures into testdata dir which is golang specific test dir name

* add server/metrics tests

* add recovery test

* add runtime stats test
2023-01-15 23:14:23 -06:00

46 lines
1.7 KiB
JSON

{
"repository": {
"id": "22222222-2222-2222-222222222222",
"name": "MyRepository",
"project": {
"id": "33333333-3333-3333-333333333333",
"name": "MyProject",
"description": "The place for MyProject"
}
},
"status": "active",
"createdBy": {
"displayName": "Atlantis Author",
"id": "11111111-1111-1111-111111111111",
"uniqueName": "atlantis.author@example.com"
},
"mergeStatus": "notSet",
"isDraft": false,
"autoCompleteSetBy": {
"id": "11111111-1111-1111-111111111111",
"displayName": "Atlantis Author",
"uniqueName": "atlantis.author@example.com"
},
"pullRequestId": 22,
"completionOptions": {
"bypassPolicy": false,
"bypassReason": "",
"deleteSourceBranch": false,
"mergeCommitMessage": "TEST MERGE COMMIT MESSAGE",
"mergeStrategy": "noFastForward",
"squashMerge": false,
"transitionWorkItems": true,
"triggeredByAutoComplete": false
},
"reviewers": [
{
"reviewerUrl": "https://example:8080/tfs/_apis/git/repositories/8010495e-1002-438d-acbf-aaf245dac7c2/pullRequests/22/reviewers/8010495e-1002-438d-acbf-aaf245dac7c2",
"vote": 0,
"id": "8010495e-1002-438d-acbf-aaf245dac7c2",
"displayName": "Atlantis Reviewer",
"uniqueName": "atlantis.reviewer@example.com",
"url": "https://owner:8080/tfs/_apis/Identities/8010495e-1002-438d-acbf-aaf245dac7c2",
"imageUrl": "https://owner:8080/tfs/_api/_common/identityImage?id=8010495e-1002-438d-acbf-aaf245dac7c2"
}
]
}