fix code style in test files
This commit is contained in:
parent
13da7c311a
commit
f95adddaaf
2 changed files with 7 additions and 7 deletions
|
|
@ -43,7 +43,7 @@ class AdminMiddlewareTest extends TestCase
|
||||||
|
|
||||||
private function makeHandler(): RequestHandlerInterface
|
private function makeHandler(): RequestHandlerInterface
|
||||||
{
|
{
|
||||||
return new class() implements RequestHandlerInterface {
|
return new class implements RequestHandlerInterface {
|
||||||
public bool $wasCalled = false;
|
public bool $wasCalled = false;
|
||||||
|
|
||||||
public function handle(
|
public function handle(
|
||||||
|
|
|
||||||
|
|
@ -233,8 +233,8 @@ class CreatePlanTest extends TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_scheduled_nodes_are_scheduled_on_different_days(): void
|
public function test_scheduled_nodes_are_scheduled_on_different_days(): void
|
||||||
{
|
{
|
||||||
$text = $this->textRepo->find(0);
|
$text = $this->textRepo->find(0);
|
||||||
$rootNode = $this->nodeRepo->create(new CreateNodeDto(
|
$rootNode = $this->nodeRepo->create(new CreateNodeDto(
|
||||||
text: $text,
|
text: $text,
|
||||||
|
|
@ -270,10 +270,10 @@ class CreatePlanTest extends TestCase
|
||||||
new DateTimeImmutable('2025-01-02'),
|
new DateTimeImmutable('2025-01-02'),
|
||||||
$childTwo->getDate()
|
$childTwo->getDate()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_more_scheduled_nodes_than_days(): void
|
public function test_more_scheduled_nodes_than_days(): void
|
||||||
{
|
{
|
||||||
$text = $this->textRepo->find(0);
|
$text = $this->textRepo->find(0);
|
||||||
$rootNode = $this->nodeRepo->create(new CreateNodeDto(
|
$rootNode = $this->nodeRepo->create(new CreateNodeDto(
|
||||||
text: $text,
|
text: $text,
|
||||||
|
|
@ -320,5 +320,5 @@ class CreatePlanTest extends TestCase
|
||||||
new DateTimeImmutable('2025-01-02'),
|
new DateTimeImmutable('2025-01-02'),
|
||||||
$childThree->getDate()
|
$childThree->getDate()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue