http-api: add world region to World
Add a WorldRegion to convert from location id to region Co-authored-by: melkypie <melkypie@users.noreply.github.com>
This commit is contained in:
@@ -77,6 +77,11 @@ public class WorldsServiceTest
|
||||
World world = worldResult.findWorld(385);
|
||||
assertNotNull(world);
|
||||
assertTrue(world.getTypes().contains(WorldType.SKILL_TOTAL));
|
||||
|
||||
for (World testWorld : worldResult.getWorlds())
|
||||
{
|
||||
assertNotNull("Missing a region in WorldRegion enum", testWorld.getRegion());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user