public void AddCommentToMergeRequest() { const string commentMessage = "note"; var newComment = new MergeRequestComment {Note = commentMessage}; var mergeRequest = _mergeRequestComments.Add(newComment); Assert.That(mergeRequest.Note, Is.EqualTo(commentMessage)); }
public Comment Add(MergeRequestComment comment) { return _api.Post().With(comment).To<Comment>(_commentsPath); }