From cac72d73fb1df0a5236a0a83ac66682b5ce58b59 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 25 Jun 2022 14:34:19 +0100 Subject: [PATCH] ItemFactoryTest: remove bogus test case --- tests/phpunit/item/ItemFactoryTest.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/phpunit/item/ItemFactoryTest.php b/tests/phpunit/item/ItemFactoryTest.php index e9f45169e..a0163f5fe 100644 --- a/tests/phpunit/item/ItemFactoryTest.php +++ b/tests/phpunit/item/ItemFactoryTest.php @@ -28,15 +28,6 @@ use pocketmine\block\BlockFactory; class ItemFactoryTest extends TestCase{ - /** - * Tests that blocks are considered to be valid registered items - */ - public function testItemBlockRegistered() : void{ - for($id = 0; $id < 256; ++$id){ - self::assertEquals(BlockFactory::getInstance()->isRegistered($id), ItemFactory::getInstance()->isRegistered($id)); - } - } - /** * Test that durable items are correctly created by the item factory */