mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
PHPUnit migrated to attributes :(
This commit is contained in:
@ -23,14 +23,13 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\network\mcpe\convert;
|
||||
|
||||
use PHPUnit\Framework\Attributes\DoesNotPerformAssertions;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use pocketmine\block\RuntimeBlockStateRegistry;
|
||||
|
||||
class BlockTranslatorTest extends TestCase{
|
||||
|
||||
/**
|
||||
* @doesNotPerformAssertions
|
||||
*/
|
||||
#[DoesNotPerformAssertions]
|
||||
public function testAllBlockStatesSerialize() : void{
|
||||
$blockTranslator = TypeConverter::getInstance()->getBlockTranslator();
|
||||
foreach(RuntimeBlockStateRegistry::getInstance()->getAllKnownStates() as $state){
|
||||
|
Reference in New Issue
Block a user