diff --git a/tests/phpunit/block/BlockTest.php b/tests/phpunit/block/BlockTest.php index 053cfc284..5e19f4d15 100644 --- a/tests/phpunit/block/BlockTest.php +++ b/tests/phpunit/block/BlockTest.php @@ -127,16 +127,6 @@ class BlockTest extends TestCase{ } } - /** - * Test that all blocks have correctly set names - */ - public function testBlockNames() : void{ - for($id = 0; $id < 256; ++$id){ - $b = BlockFactory::get($id); - self::assertTrue($b instanceof UnknownBlock or $b->getName() !== "Unknown", "Block with ID $id does not have a valid name"); - } - } - /** * Test that light filters in the static arrays have valid values. Wrong values can cause lots of unpleasant bugs * (like freezes) when doing light population.