Merge branch 'minor-next' into major-next

This commit is contained in:
Dylan K. Taylor
2024-11-14 23:16:44 +00:00
18 changed files with 1324 additions and 1151 deletions

View File

@ -51,6 +51,7 @@ class BlockTypeIdsTest extends TestCase{
foreach(Utils::stringifyKeys(VanillaBlocks::getAll()) as $name => $block){
$expected = $block->getTypeId();
$actual = $reflect->getConstant($name);
self::assertNotFalse($actual, "VanillaBlocks::$name() does not have a BlockTypeIds constant");
self::assertSame($expected, $actual, "VanillaBlocks::$name() does not match BlockTypeIds::$name");
}
}

View File

@ -54,6 +54,7 @@ class ItemTypeIdsTest extends TestCase{
}
$expected = $item->getTypeId();
$actual = $reflect->getConstant($name);
self::assertNotFalse($actual, "VanillaItems::$name() does not have an ItemTypeIds constant");
self::assertSame($expected, $actual, "VanillaItems::$name() type ID does not match ItemTypeIds::$name");
}
}