mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
fix doctor phpunit test
This commit is contained in:
@@ -17,6 +17,8 @@ final class CheckListHandlerTest extends TestCase
|
||||
$list = new CheckListHandler();
|
||||
|
||||
$id = $list->runChecks();
|
||||
$this->assertCount(7, $id);
|
||||
foreach ($id as $item) {
|
||||
$this->assertInstanceOf('SPC\doctor\AsCheckItem', $item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user