Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELETE category endpoint returns 200 code if there is no category with this id #85

Open
AlexandraPopovaz opened this issue May 27, 2023 · 0 comments

Comments

@AlexandraPopovaz
Copy link
Collaborator

Description: DELETE category by id endpoint returns 200 code if there is no category with this id (non-existent category)

Steps to reproduce

  1. Make a request "DELETE category by id" with id= -10
  2. Check the status code in the response

Actual behavior
user gets 200 code

Expected behavior
user should get 404 error code

Screenshots
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant