|
@@ 81-89 (lines=9) @@
|
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
/** @test */ |
| 81 |
|
public function it_gets_all_users_in_friend_list() |
| 82 |
|
{ |
| 83 |
|
$friendsList = $this->steamClient->user($this->id64)->GetFriendList('all'); |
| 84 |
|
|
| 85 |
|
$this->assertGreaterThan(0, $friendsList); |
| 86 |
|
|
| 87 |
|
$this->checkPlayerProperties($friendsList); |
| 88 |
|
$this->checkPlayerClasses($friendsList); |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
/** @test */ |
| 92 |
|
public function it_gets_friend_users_in_friend_list() |
|
@@ 92-100 (lines=9) @@
|
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
/** @test */ |
| 92 |
|
public function it_gets_friend_users_in_friend_list() |
| 93 |
|
{ |
| 94 |
|
$friendsList = $this->steamClient->user($this->id64)->GetFriendList('friend'); |
| 95 |
|
|
| 96 |
|
$this->assertGreaterThan(0, $friendsList); |
| 97 |
|
|
| 98 |
|
$this->checkPlayerProperties($friendsList); |
| 99 |
|
$this->checkPlayerClasses($friendsList); |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
/** @test */ |
| 103 |
|
public function it_throws_exception_to_invalid_relationship_types() |