|- || |
When user attempt to publish using PUT .../api/review-requests/####/draft/ public=1, the people or group names is not required. The user can submit the review request with no reviewers or groups assigned.
|- || ||There weren't any condition to check for user or group name in the web API. This change checks for people or group name to see if they're entered or not.|
|- || ||
| || |
Added a unit test, which passes (along with all other tests).
| || ||
|~ || |
Tested by creating a draft review request without containing user/group names. After trying to publish it this will raise publish error.
| ||~ |
- Created a draft test review that don't have a reviewer/group name.
| ||+ |
- Ran it using this command ./tests/runtests.py reviewboard.reviews.tests.test_review_request_draft
| ||+ |
- This will raise a publishingError since there isn't reviewer.