mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
EnumTraitTest: use @doesNotPerformAssertions
This commit is contained in:
@ -27,9 +27,12 @@ use PHPUnit\Framework\TestCase;
|
|||||||
|
|
||||||
class EnumTraitTest extends TestCase{
|
class EnumTraitTest extends TestCase{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @doesNotPerformAssertions
|
||||||
|
*/
|
||||||
public function testEnumLazyInit() : void{
|
public function testEnumLazyInit() : void{
|
||||||
foreach([TestEnum::ONE(), TestEnum::TWO(), TestEnum::THREE()] as $member){
|
foreach([TestEnum::ONE(), TestEnum::TWO(), TestEnum::THREE()] as $member){
|
||||||
self::assertInstanceOf(TestEnum::class, $member);
|
//NOOP
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user