This commit is contained in:
Yisroel Baum 2026-05-01 09:56:14 +03:00
parent e04931ac08
commit 669bcf8d5e
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 9 additions and 8 deletions

View file

@ -29,9 +29,9 @@ class GetTodaysScheduleTest extends TestCase
protected function setUp(): void
{
$this->userRepo = new FakeUserRepository;
$this->scheduledNodeRepo = new FakeScheduledNodeRepository;
$this->planRepo = new FakePlanRepository;
$this->userRepo = new FakeUserRepository();
$this->scheduledNodeRepo = new FakeScheduledNodeRepository();
$this->planRepo = new FakePlanRepository();
$user = $this->userRepo->create(new CreateUserDto(
email: new EmailAddress('email@email.com'),
passwordHash: 'hash',
@ -100,7 +100,8 @@ class GetTodaysScheduleTest extends TestCase
text: new Text(id: 0, name: 'test text'),
parentNode: null,
),
));
)
);
$node->setCompleted(true);
$this->scheduledNodeRepo->update($node);