mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 23:29:54 +00:00
fixed borked test
This commit is contained in:
parent
563336cdc9
commit
430d16e5f5
@ -32,7 +32,7 @@ class CoralTypeIdMapTest extends TestCase{
|
|||||||
foreach(CoralType::getAll() as $type){
|
foreach(CoralType::getAll() as $type){
|
||||||
$id = CoralTypeIdMap::getInstance()->toId($type);
|
$id = CoralTypeIdMap::getInstance()->toId($type);
|
||||||
$type2 = CoralTypeIdMap::getInstance()->fromId($id);
|
$type2 = CoralTypeIdMap::getInstance()->fromId($id);
|
||||||
self::assertTrue($type->equals($type2));
|
self::assertTrue($type2 !== null && $type->equals($type2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user