fix(learn): correct the instructions for functional tests (#41459)

This commit is contained in:
fuzzyray
2021-03-22 23:54:55 -05:00
committed by GitHub
parent 0190c19411
commit 2ad908b3a9

View File

@ -33,8 +33,8 @@ Write the following tests in `tests/2_functional-tests.js`:
- Reporting a thread: PUT request to `/api/threads/{board}` - Reporting a thread: PUT request to `/api/threads/{board}`
- Creating a new reply: POST request to `/api/replies/{board}` - Creating a new reply: POST request to `/api/replies/{board}`
- Viewing a single thread with all replies: GET request to `/api/replies/{board}` - Viewing a single thread with all replies: GET request to `/api/replies/{board}`
- Deleting a reply with the incorrect password: DELETE request to `/api/threads/{board}` with an invalid `delete_password` - Deleting a reply with the incorrect password: DELETE request to `/api/replies/{board}` with an invalid `delete_password`
- Deleting a reply with the correct password: DELETE request to `/api/threads/{board}` with a valid `delete_password` - Deleting a reply with the correct password: DELETE request to `/api/replies/{board}` with a valid `delete_password`
- Reporting a reply: PUT request to `/api/replies/{board}` - Reporting a reply: PUT request to `/api/replies/{board}`
# --hints-- # --hints--