OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[POST/email/changePlaceStatus] Incorrect behavior of changePlaceStatus end-point. Need response 401 Unauthorized. #211

Open OlhenShu opened 4 months ago

OlhenShu commented 4 months ago

Environment: Firefox 116.0.3 (64-bit). Reproducible: always.

Preconditions Moved to Swagger http://localhost:8065/swagger-ui.html#/

Steps to reproduce

  1. Click on Email controller
  2. Click on POST/email/changePlaceStatus
  3. Click on 'Try out'
  4. Enter valid data { "authorEmail": "Admin1@gmail.com", "authorFirstName": "Admin", "placeName": "hoho", "placeStatus": "string" }

Actual result Response 200 OK

Expected result Response 401 Unauthorized

User story and test case links