OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[user-controller/PUT/user/{id} update via UserManagement] The list of the Responses has no "Code 404" when this Response is exist and needed #264

Closed OlhenShu closed 1 month ago

OlhenShu commented 1 month ago

Environment: GreenCityDocker-3 Reproducible: always

Preconditions Log in as the Admin to http://localhost:8065/swagger-ui.html#/

Steps to reproduce

  1. Scroll down and click on the user-controller
  2. Click on the "PUT/user/{id} update via UserManagement"
  3. Click on the "Try it out" button
  4. Fill in the body by using {id} not existing the User and click on the "Execute" button
  5. Pay attention to the Response
  6. Pay attention to the list of the Responses

Actual result The list of responses has no Code 404

Expected result The list of Responses shall have Code 404

Screenshot_3 Screenshot_4