@@ -21,7 +21,7 @@ public class PlayerTest {
2121 @ org .junit .Test
2222 public void testGetPlayer () throws Exception {
2323 //Fetch object to test against (Aelia Sokoto, Cerberus)
24- Player playerOne = Player .getPlayer (2356533 );
24+ Player playerOne = Player .getPlayer (2356533 , 1 );
2525
2626 //NOTE: All of the following tests assume various pieces of information
2727 //Testing information that is very unlikely to change
@@ -167,7 +167,7 @@ public void testGetPlayer() throws Exception {
167167 */
168168 @ org .junit .Test
169169 public void testGetVeteranPlayer () throws Exception {
170- Player player = Player .getPlayer (501646 );
170+ Player player = Player .getPlayer (501646 , 1 );
171171
172172 //Player has 960 days sub, make sure recorded correctly
173173 assertTrue (player .isHas960DaysSub ());
@@ -187,7 +187,7 @@ public void testGetVeteranPlayer() throws Exception {
187187 */
188188 @ org .junit .Test
189189 public void testUnplayedPlayer () throws Exception {
190- Player player = Player .getPlayer (13002142 );
190+ Player player = Player .getPlayer (13002142 , 1 );
191191
192192 //Test grand company
193193 assertEquals ("none" , player .getGrandCompany ());
@@ -240,7 +240,7 @@ public void testUnplayedPlayer() throws Exception {
240240 */
241241 @ org .junit .Test
242242 public void testGetPlayerNoGCHasFC () throws Exception {
243- Player player = Player .getPlayer (1 );
243+ Player player = Player .getPlayer (1 , 1 );
244244
245245 //Verify that grand company is "None"
246246 assertEquals ("none" , player .getGrandCompany ());
@@ -254,7 +254,7 @@ public void testGetPlayerNoGCHasFC() throws Exception {
254254 */
255255 @ org .junit .Test
256256 public void testGetPlayerNoFCHasGC () throws Exception {
257- Player player = Player .getPlayer (11886920 );
257+ Player player = Player .getPlayer (11886920 , 1 );
258258
259259 //Test that GC is maelstrom
260260 assertEquals ("Maelstrom" , player .getGrandCompany ());
@@ -270,7 +270,7 @@ public void testGetPlayerNoFCHasGC() throws Exception {
270270 */
271271 @ org .junit .Test
272272 public void testGetPlayerWithAllCollectibles () throws Exception {
273- Player player = Player .getPlayer (71 );
273+ Player player = Player .getPlayer (71 , 1 );
274274
275275 assertEquals (player .getBitHasArrArtbook (), 1 );
276276 assertEquals (player .getBitHasBeforeMeteor (), 1 );
@@ -287,12 +287,12 @@ public void testGetPlayerWithAllCollectibles() throws Exception {
287287 public void testGetPlayerInvalid () {
288288 try {
289289 //Try to get a character that doesn't exist
290- Player player = Player .getPlayer (2356539 );
290+ Player player = Player .getPlayer (2356539 , 1 );
291291 //If no exception thrown fail
292292 fail ("Character should not exist" );
293293 } catch (Exception e ) {
294294
295295 }
296296 }
297297
298- }
298+ }
0 commit comments