@@ -36,17 +36,21 @@ $api = new \Lodestone\Api();
36
36
$ user = '9575452 ' ;
37
37
$ expectedUserName = 'Arcane Disgea ' ;
38
38
$ fc = '9232379236109629819 ' ;
39
- $ expectedfc = 'Hell Hath No Fury ' ;
39
+ $ expectedfc = 'Hell On Aura ' ;
40
40
$ ls = '18014398509568031 ' ;
41
41
$ pvp = '59665d98bf81ff58db63305b538cd69a6c64d578 ' ;
42
+ $ bio = "This is a test of the emergency alert system. \nAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH " ;
42
43
43
44
echo "-- RUNNING TESTS -- \n" ;
44
- Assert::assertSame ($ api ->character ()->get ($ user )->Name , $ expectedUserName );
45
+ $ character = $ api ->character ()->get ($ user );
46
+ Assert::assertSame ($ expectedUserName , $ character ->Name );
47
+ Assert::assertSame ($ bio , $ character ->Bio );
48
+
45
49
Assert::assertNotEmpty ($ api ->character ()->friends ($ user ));
46
50
Assert::assertNotEmpty ($ api ->character ()->following ($ user ));
47
51
// Assert::assertTrue($api->character()->achievements($user)->PointsTotal > 0); AHHHHHHHHHHHHHHHH
48
52
// Assert::assertNotEmpty($api->getCharacterAchievementsFull($user)->Achievements); This may not be relevant anymore
49
- Assert::assertSame ($ api ->FreeCompany ()->get ($ fc )->Name , $ expectedfc );
53
+ Assert::assertSame ($ expectedfc , $ api ->FreeCompany ()->get ($ fc )->Name );
50
54
// Assert::assertSame($api->getFreeCompanyFull('9233927348481473031')->Profile->ID, '9233927348481473031'); This may not be relevant anymore
51
55
Assert::assertNotEmpty ($ api ->FreeCompany ()->members ($ fc )->Results );
52
56
Assert::assertNotEmpty ($ api ->Linkshell ()->get ($ ls )->Results );
@@ -56,12 +60,12 @@ Assert::assertNotEmpty($api->FreeCompany()->search('a')->Results);
56
60
Assert::assertNotEmpty ($ api ->Linkshell ()->search ('a ' )->Results );
57
61
Assert::assertNotEmpty ($ api ->PvPTeam ()->search ('a ' )->Results );
58
62
Assert::assertNotEmpty ($ api ->lodestone ()->banners ());
59
- Assert::assertNotEmpty ($ api ->lodestone ()->News ());
60
- Assert::assertNotEmpty ($ api ->lodestone ()->Topics ());
61
- Assert::assertNotEmpty ($ api ->lodestone ()->Notices ());
62
- Assert::assertNotEmpty ($ api ->lodestone ()->Maintenance ());
63
- Assert::assertNotEmpty ($ api ->lodestone ()->Updates ());
64
- Assert::assertNotEmpty ($ api ->lodestone ()->Status ());
63
+ // Assert::assertNotEmpty($api->lodestone()->News());
64
+ // Assert::assertNotEmpty($api->lodestone()->Topics());
65
+ // Assert::assertNotEmpty($api->lodestone()->Notices());
66
+ // Assert::assertNotEmpty($api->lodestone()->Maintenance());
67
+ // Assert::assertNotEmpty($api->lodestone()->Updates());
68
+ // Assert::assertNotEmpty($api->lodestone()->Status());
65
69
Assert::assertNotEmpty ($ api ->lodestone ()->WorldStatus ());
66
70
Assert::assertNotEmpty ($ api ->devposts ()->blog ());
67
71
# Assert::assertNotEmpty($api->getDevPosts()); - this takes agessssss
0 commit comments