You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Controller: Users
login
should return 401 when the user can not be found:
TypeError: this.AuthService is not a constructor
at UsersController.authenticate (src/controllers/users.js:69:29)
at Context.<anonymous> (test/unit/controllers/users_spec.js:298:35)
at processImmediate (node:internal/timers:464:21)
Dada a classe:
os testes unitários apresentam o erro:
para ver o codigo completo atual pode verificar em:
https://github.com/gfkauer/to-do-api
The text was updated successfully, but these errors were encountered: