Rework doctor command

This commit is contained in:
Joseph Bielawski
2023-09-09 10:04:20 +02:00
committed by Jerry Ma
parent 01c4538ce0
commit 52430cbdde
3 changed files with 104 additions and 87 deletions

View File

@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace SPC\Tests\doctor;
use PHPUnit\Framework\TestCase;
use SPC\doctor\CheckListHandler;
/**
* @internal
*/
final class CheckListHandlerTest extends TestCase
{
public function testRunChecksReturnsListOfCheck(): void
{
$list = new CheckListHandler();
$this->assertCount(6, $list->runChecks());
}
}