remove redundant Console setlevel

This commit is contained in:
crazywhalecc
2022-05-04 22:44:21 +08:00
parent 0cb3308dd1
commit d9302a3120

View File

@@ -17,7 +17,6 @@ class EventMapIteratorTest extends TestCase
{ {
public function testIterator(): void public function testIterator(): void
{ {
Console::setLevel(4);
$iterator = new EventMapIterator(Hello::class, 'randNum', CommandArgument::class); $iterator = new EventMapIterator(Hello::class, 'randNum', CommandArgument::class);
$arr = iterator_to_array($iterator); $arr = iterator_to_array($iterator);
$this->assertArrayNotHasKey(0, $arr); $this->assertArrayNotHasKey(0, $arr);