TIDE/backend/tests
yisroel eb0ebc6f63
test GetPost use case
4 cases: zero/negative id -> BadRequest; unknown id -> null
(controller maps to 404); existing id returns the Post.
GetPost takes int id directly (no Request object - the value is
trivial and controllers pull it from a route param).
2026-05-06 15:25:36 +03:00
..
Fakes add Post persistence: model, migration, eloquent + fake repo 2026-05-06 15:22:22 +03:00
Feature scaffold laravel 12 backend 2026-05-06 14:46:41 +03:00
Unit test GetPost use case 2026-05-06 15:25:36 +03:00
TestCase.php scaffold laravel 12 backend 2026-05-06 14:46:41 +03:00