Commit graph

5 commits

Author SHA1 Message Date
e56cb56ce7
test node controller ownership checks
add failing tests asserting 403 when a non-owner tries to
read or write nodes on another user's text, plus admin
bypass. existing tests now attach a session user to mirror
the new controller signature.
2026-05-02 21:45:15 +03:00
cbbbc80326
update downstream tests for text user requirement
Text now requires a User on construction. seed a user in
each test setUp that creates a Text directly or through the
fake repository so the suite remains green.
2026-05-02 21:27:55 +03:00
189493b045
php cs fixer 2026-04-19 23:07:48 +03:00
56bdee86cc
fix controller tests to pass in data in proper form 2026-04-18 21:59:57 +03:00
1c1f8b5a58
add tests for node controller
get nodes of text and create node
2026-04-18 21:27:36 +03:00