mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 16:24:05 +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){
|
||||
$id = CoralTypeIdMap::getInstance()->toId($type);
|
||||
$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