OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[POST/email/sendHabitNotification] Incorrect behavior of sendHabitNotification end-point. Need response 400 Bad request. #215

Closed OlhenShu closed 1 month ago

OlhenShu commented 2 months ago

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

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

Steps to reproduce

  1. Click on Email controller
  2. Click on POST/email/sendHabitNotification
  3. Click on 'Try out'
  4. Enter data { "email": "1111gmail.com", "name": "1111" }

Actual result Response 200 OK

Expected result Response 400 Bad request

User story and test case links