diff --git a/tests/phpunit/block/BlockTest.php b/tests/phpunit/block/BlockTest.php index 5e19f4d15..c6b68fd13 100644 --- a/tests/phpunit/block/BlockTest.php +++ b/tests/phpunit/block/BlockTest.php @@ -123,7 +123,7 @@ class BlockTest extends TestCase{ public function testBlockIds() : void{ for($i = 0; $i < 256; ++$i){ $b = BlockFactory::get($i); - self::assertEquals($i, $b->getId()); + self::assertContains($i, $b->getIdInfo()->getAllBlockIds()); } }