Goal-Calibration/tests/Fakes
Yisroel Baum acdf703d80
scope text endpoints by ownership
TextRepository gains findByUser; JsonTextRepository and the
fake implement filtering by stored userId. TextController
splits the list endpoint into getMyTexts (own) and
getAllTexts (admin), and getText now requires the session
user, returning 403 to non-owners while admins bypass.
2026-05-02 21:42:51 +03:00
..
FakeClock.php return utc from clock 2026-04-26 10:32:08 +03:00
FakeNodeRepository.php fix get by text id impl 2026-03-18 20:35:33 +02:00
FakePasswordHasher.php use FakePasswordHasher in tests to eliminate bcrypt cost 2026-04-26 09:06:26 +03:00
FakePlanRepository.php add find by user method in plan repo 2026-05-01 09:02:34 +03:00
FakeScheduledNodeRepository.php add update method to fake scheduled node repo 2026-05-01 09:05:55 +03:00
FakeSessionRepository.php add fake session repository 2026-04-24 13:22:06 +03:00
FakeTextRepository.php scope text endpoints by ownership 2026-05-02 21:42:51 +03:00
FakeTokenGenerator.php remove default value in fake token generator 2026-04-26 10:51:03 +03:00
FakeUserRepository.php dont cast email to string, use new value method 2026-04-26 10:19:38 +03:00