forked from aces/Loris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API] New api candidates endpoint post tests (aces#7090)
Adds two new tests for POST requests to the \Candidates endpoint. 1. A valid POST request to create a new candidate at a site where the user is not affiliated with. It expects a Forbidden HTTP error (403). 2. An invalid POST request where the project is an empty string. It has to be an existing project, so it fails with NotFound error (400).
- Loading branch information
1 parent
c099e60
commit d90dfb1
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters