mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 10:25:36 +08:00
Introduce AttributeMapper for managing extensions and doctor attributes
This commit is contained in:
@@ -5,7 +5,7 @@ declare(strict_types=1);
|
||||
namespace SPC\Tests\doctor;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use SPC\doctor\CheckListHandler;
|
||||
use SPC\doctor\DoctorHandler;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
@@ -14,9 +14,9 @@ final class CheckListHandlerTest extends TestCase
|
||||
{
|
||||
public function testRunChecksReturnsListOfCheck(): void
|
||||
{
|
||||
$list = new CheckListHandler();
|
||||
$list = new DoctorHandler();
|
||||
|
||||
$id = $list->runChecks();
|
||||
$id = $list->getValidCheckList();
|
||||
foreach ($id as $item) {
|
||||
$this->assertInstanceOf('SPC\doctor\AsCheckItem', $item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user