PHPUnit migrated to attributes :(

This commit is contained in:
Dylan K. Taylor
2025-06-08 19:19:17 +01:00
parent 6b5ff5016e
commit 9e773ed439
14 changed files with 43 additions and 58 deletions

View File

@ -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){