OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[POST/email/sendHabitNotification] Incorrect behavior of sendHabitNotification end-point. Need 401 unauthorized. #214

Closed OlhenShu closed 1 month ago

OlhenShu commented 2 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/sendHabitNotification
  3. Click on 'Try out'
  4. Enter valid data { "email": "Test1@gmail.com", "name": "Test1" }

Actual result Response 200 OK

Expected result Response 401 unauthorized

User story and test case links