Found in release 1 by Redouan Sellami.
Problem:
*You will redirect to the home page instead of receiving an error.
Expected behavior:
*Error that says field hasn't been filled in with error code:422
Steps to replicate:
Open the program Postman.
you need to send a request to this link: http://127.0.0.1:8000/api/appointment/edit/5.
*with as body:
{
"driving_instructor": 30,
"start_time": "2019-10-17 05:00:00",
"end_time": "2019-10-17 06:00:00"
}
Authorization: Bearer Token: Token.
You will redirect to the home page instead of receiving an error.
Found in release 1 by Redouan Sellami. Problem: *You will redirect to the home page instead of receiving an error.
Expected behavior: *Error that says field hasn't been filled in with error code:422
Steps to replicate: Open the program Postman. you need to send a request to this link: http://127.0.0.1:8000/api/appointment/edit/5. *with as body: { "driving_instructor": 30, "start_time": "2019-10-17 05:00:00", "end_time": "2019-10-17 06:00:00" }
Authorization: Bearer Token: Token. You will redirect to the home page instead of receiving an error.