TIDE/backend/tests
yisroel 504554bf7f
test CreatePost use case
7 cases: null + whitespace title -> BadRequest; null +
whitespace body -> BadRequest; valid request returns Post with
correct userId/title/body and createdAt = clock.now(); the post
is findable via the repo afterwards; title and body get trimmed
of leading/trailing whitespace. fails red - CreatePost class
absent.
2026-05-06 15:22:57 +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 CreatePost use case 2026-05-06 15:22:57 +03:00
TestCase.php scaffold laravel 12 backend 2026-05-06 14:46:41 +03:00