mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
fixed borked test
This commit is contained in:
@ -32,7 +32,7 @@ class CoralTypeIdMapTest extends TestCase{
|
||||
foreach(CoralType::getAll() as $type){
|
||||
$id = CoralTypeIdMap::getInstance()->toId($type);
|
||||
$type2 = CoralTypeIdMap::getInstance()->fromId($id);
|
||||
self::assertTrue($type->equals($type2));
|
||||
self::assertTrue($type2 !== null && $type->equals($type2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user