style
This commit is contained in:
parent
e04931ac08
commit
669bcf8d5e
2 changed files with 9 additions and 8 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue