hiscore api: add Callisto and Cerberus
This commit is contained in:
@@ -94,8 +94,8 @@ class HiscoreResultBuilder
|
|||||||
hiscoreResult.setAlchemicalHydra(skills.get(index++));
|
hiscoreResult.setAlchemicalHydra(skills.get(index++));
|
||||||
hiscoreResult.setBarrowsChests(skills.get(index++));
|
hiscoreResult.setBarrowsChests(skills.get(index++));
|
||||||
hiscoreResult.setBryophyta(skills.get(index++));
|
hiscoreResult.setBryophyta(skills.get(index++));
|
||||||
// hiscoreResult.setCallisto(skills.get(index++));
|
hiscoreResult.setCallisto(skills.get(index++));
|
||||||
// hiscoreResult.setCerberus(skills.get(index++));
|
hiscoreResult.setCerberus(skills.get(index++));
|
||||||
hiscoreResult.setChambersOfXeric(skills.get(index++));
|
hiscoreResult.setChambersOfXeric(skills.get(index++));
|
||||||
hiscoreResult.setChambersOfXericChallengeMode(skills.get(index++));
|
hiscoreResult.setChambersOfXericChallengeMode(skills.get(index++));
|
||||||
hiscoreResult.setChaosElemental(skills.get(index++));
|
hiscoreResult.setChaosElemental(skills.get(index++));
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ public class HiscoreServiceTest
|
|||||||
+ "15020,388\n"
|
+ "15020,388\n"
|
||||||
+ "50463,147\n"
|
+ "50463,147\n"
|
||||||
+ "-1,-1\n"
|
+ "-1,-1\n"
|
||||||
|
+ "92357,1\n"
|
||||||
|
+ "22758,637\n"
|
||||||
+ "22744,107\n"
|
+ "22744,107\n"
|
||||||
+ "-1,-1\n"
|
+ "-1,-1\n"
|
||||||
+ "20150,17\n"
|
+ "20150,17\n"
|
||||||
@@ -149,6 +151,7 @@ public class HiscoreServiceTest
|
|||||||
Assert.assertEquals(-1, result.getLastManStanding().getLevel());
|
Assert.assertEquals(-1, result.getLastManStanding().getLevel());
|
||||||
Assert.assertEquals(2460, result.getLeaguePoints().getLevel());
|
Assert.assertEquals(2460, result.getLeaguePoints().getLevel());
|
||||||
Assert.assertEquals(37, result.getAbyssalSire().getLevel());
|
Assert.assertEquals(37, result.getAbyssalSire().getLevel());
|
||||||
|
Assert.assertEquals(92357, result.getCallisto().getRank());
|
||||||
Assert.assertEquals(5847, result.getZulrah().getLevel());
|
Assert.assertEquals(5847, result.getZulrah().getLevel());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user