OlhenShu / GreenCityProjectStage

0 stars 0 forks source link

[POST /email/sendUserViolation] Incorrect behavior of sendUserViolation end-point. Need 404 Not found. #237

Open OlhenShu opened 11 months ago

OlhenShu commented 11 months ago

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

Preconditions Sign-in us User Moved to Swagger http://localhost:8065/swagger-ui.html#/

Steps to reproduce

  1. Click on Email controller
  2. Click on POST /email/sendUserViolation
  3. Click on 'Try out'
  4. Enter valid data, except for the email { "email": "Test1gmail.com", "language": "en", "name": "Test1", "violationDescription": "124125sfgg" }

Actual result Response 200 OK

Expected result Response 404 Not found

User story and test case links