TIDE/backend/tests/Unit/Auth/UseCases
yisroel 2731e610e5
test AuthenticateUser use case
9 cases: null/empty/malformed email -> BadRequest; null/empty
password -> BadRequest; unknown email -> Unauthorized; wrong
password -> Unauthorized; valid creds return the User entity;
isAdmin flag survives the auth round-trip. fails red - the
AuthenticateUser class does not exist yet.
2026-05-06 15:14:03 +03:00
..
AuthenticateUserTest.php test AuthenticateUser use case 2026-05-06 15:14:03 +03:00