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.
This commit is contained in:
Yisroel Baum 2026-05-02 21:27:55 +03:00
parent 40fdf25da2
commit cbbbc80326
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
9 changed files with 71 additions and 22 deletions

View file

@ -82,7 +82,7 @@ class ScheduledNodeControllerTest extends TestCase
node: new Node(
id: 0,
title: $nodeTitle,
text: new Text(id: 0, name: 'test text'),
text: new Text(id: 0, name: 'test text', user: $user),
parentNode: null,
),
));