fixed borked test

This commit is contained in:
Dylan K. Taylor 2020-11-16 18:17:04 +00:00
parent 563336cdc9
commit 430d16e5f5

View File

@ -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));
}
}
}