-
Notifications
You must be signed in to change notification settings - Fork 769
Retrieve html_url from Pull Request Review Comment #742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| assertEquals("Sample review comment", comment.getBody()); | ||
|
|
||
| // Assert htmlUrl is not null | ||
| assertNotNull(comment.getHtmlUrl()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be more than non-null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to check for more than just non-null. What value should it be?
It's actually a dynamically determined URL something along of the lines of this : https://github.com/apache/flink/pull/5862#discussion_r184057665
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sladyn98
But it is recorded so it won't change after that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, another test upcoming :)
bitwiseman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to check for more than just non-null. What value should it be?
Description
This PR is used to retrieve the
html_urlfrom a Pull Request Review Comment instead of returning nullCloses : #736
Before submitting a PR:
We love getting PRs, but we hate asking people for the same basic changes every time.
master. Create your PR from that branch.mvn -D enable-ci clean install sitelocally. This may reformat your code, commit those chxanges. If this command doesn't succeed, your change will not pass CI.