You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There exists student role user with valid credentials, user is logged in and Bearer Token "Student Token" is generated
There exists Course Category and course with CourseId="1"
User has not previously put reaction (like or dislike) to the course
Pre-conditions
There exists student role user with valid credentials, user is logged in and Bearer Token "Student Token" is generated
There exists Course Category and course with CourseId="1"
User has not previously put reaction (like or dislike) to the course
Steps to reproduce
In Postman collection click "Add request"
Name request, e.g. "Repeated reaction"
in Auth Tab choose Bearer Token from droplist, and type in "StudentToken" into text field
Send POST request to http://qa-school-test.quantori.academy/api/v1/courses/1/like/remove
Actual behavior
Response code 200
Json body :{
"result": "You've removed your like/dislike from the course"
}
Expected behavior
Response code 400
Error message: "You've not previously left a reaction for this course"
The text was updated successfully, but these errors were encountered: