Skip to content

Allow unspecified event when creating review #723

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

Merged
merged 2 commits into from
Aug 4, 2018
Merged

Allow unspecified event when creating review #723

merged 2 commits into from
Aug 4, 2018

Conversation

mikedld
Copy link
Contributor

@mikedld mikedld commented Aug 3, 2018

Documentation for event in "Create a pull request review" states that "By leaving this blank, you set the review action state to PENDING, which means you will need to submit the pull request review when you are ready." This means that omitting event is perfectly legal.

mikedld added 2 commits August 3, 2018 22:30
Documentation for `event` in "Create a pull request review" states that "By leaving this blank, you set the review action state to `PENDING`, which means you will need to submit the pull request review when you are ready." This means that omitting `event` is perfectly legal.
Since we now allow `event` to be missing, adjust the test case to expect POST request to be made.
@acrobat
Copy link
Collaborator

acrobat commented Aug 4, 2018

Thanks @mikedld! And congrats on your first contribution! 🎉

@acrobat acrobat merged commit 96b4ff0 into KnpLabs:master Aug 4, 2018
@mikedld mikedld deleted the patch-1 branch August 7, 2018 14:08
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