comments: extend API data with references to commit_id or pull_request_id for audit-logs.

This commit is contained in:
Marcin Kuzminski 2020-04-15 15:46:53 +02:00
parent 13f313d4b5
commit 1e8d393f02
4 changed files with 11 additions and 4 deletions

View file

@ -60,7 +60,10 @@ class TestGetPullRequestComments(object):
'comment_text': 'Auto status change to |new_status|\n\n.. |new_status| replace:: *"Under Review"*',
'comment_type': 'note',
'comment_resolved_by': None,
'pull_request_version': None}
'pull_request_version': None,
'comment_commit_id': None,
'comment_pull_request_id': pull_request.pull_request_id
}
]
assert_ok(id_, expected, response.body)