TIDE/backend/tests/Unit
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
..
Auth/UseCases test AuthenticateUser use case 2026-05-06 15:14:03 +03:00
Shared/ValueObject test EmailAddress value object 2026-05-06 14:52:14 +03:00
User/UseCases test SignupUser use case 2026-05-06 15:12:52 +03:00
ExampleTest.php scaffold laravel 12 backend 2026-05-06 14:46:41 +03:00