fix code style in test files

This commit is contained in:
Yisroel Baum 2026-04-26 10:45:57 +03:00
parent 13da7c311a
commit f95adddaaf
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 7 additions and 7 deletions

View file

@ -43,7 +43,7 @@ class AdminMiddlewareTest extends TestCase
private function makeHandler(): RequestHandlerInterface
{
return new class() implements RequestHandlerInterface {
return new class implements RequestHandlerInterface {
public bool $wasCalled = false;
public function handle(

View file

@ -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);
$rootNode = $this->nodeRepo->create(new CreateNodeDto(
text: $text,
@ -270,10 +270,10 @@ class CreatePlanTest extends TestCase
new DateTimeImmutable('2025-01-02'),
$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);
$rootNode = $this->nodeRepo->create(new CreateNodeDto(
text: $text,
@ -320,5 +320,5 @@ class CreatePlanTest extends TestCase
new DateTimeImmutable('2025-01-02'),
$childThree->getDate()
);
}
}
}