Skip to content
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

Add issue events API #479

Merged
merged 10 commits into from
Oct 11, 2019
Merged

Conversation

martinvanzijl
Copy link
Contributor

Fix for issue #376 (add issue events API).

Added the following methods:

  • GHIssue.listEvents()
  • GHRepository.listIssueEvents()
  • GHRepository.getIssueEvent(int id)

Copy link
Member

@bitwiseman bitwiseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks! This looks reasonable to me. Can you add some tests?

@martinvanzijl
Copy link
Contributor Author

I've uploaded my latest progress.

I want to make the unit tests more robust by creating an issue within the test itself, editing it and making sure the appropriate events are created. I also want to test the fields of the GHIssueEvent object itself.

@bitwiseman
Copy link
Member

Cool just tell me when you're ready for review.

@martinvanzijl
Copy link
Contributor Author

@bitwiseman
I've updated the unit tests. Can you please review?

@bitwiseman bitwiseman merged commit dec7a91 into hub4j:master Oct 11, 2019
@martinvanzijl martinvanzijl deleted the issue_376_issue_events branch October 13, 2019 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants