Retrieve html_url from PRReviewComment

This commit is contained in:
Sladyn Nunes
2020-03-15 18:30:29 +05:30
parent c11c06b896
commit 53c37ef413
2 changed files with 5 additions and 1 deletions

View File

@@ -118,6 +118,9 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest {
GHPullRequestReviewComment comment = comments.get(0);
assertEquals("Sample review comment", comment.getBody());
// Assert htmlUrl is not null
assertNotNull(comment.getHtmlUrl());
comment.update("Updated review comment");
comments = p.listReviewComments().toList();
assertEquals(1, comments.size());