|
@@ 34-41 (lines=8) @@
|
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
/** @test */ |
| 34 |
|
public function api_can_fetch_wow_achievements() |
| 35 |
|
{ |
| 36 |
|
$response = $this->wow->getAchievement($this->achievementId); |
| 37 |
|
|
| 38 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 39 |
|
$this->assertArrayHasKey('id', $response->toArray()); |
| 40 |
|
$this->assertEquals($this->achievementId, $response->get('id')); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** @test */ |
| 44 |
|
public function api_can_fetch_auction_data() |
|
@@ 133-140 (lines=8) @@
|
| 130 |
|
} |
| 131 |
|
|
| 132 |
|
/** @test */ |
| 133 |
|
public function api_can_fetch_an_item() |
| 134 |
|
{ |
| 135 |
|
$response = $this->wow->getItem($this->itemId); |
| 136 |
|
|
| 137 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 138 |
|
$this->assertArrayHasKey('id', $response->toArray()); |
| 139 |
|
$this->assertEquals($this->itemId, $response->get('id')); |
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
/** @test */ |
| 143 |
|
public function api_can_fetch_an_item_set() |
|
@@ 143-150 (lines=8) @@
|
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
/** @test */ |
| 143 |
|
public function api_can_fetch_an_item_set() |
| 144 |
|
{ |
| 145 |
|
$response = $this->wow->getItemSet($this->itemSet); |
| 146 |
|
|
| 147 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 148 |
|
$this->assertArrayHasKey('id', $response->toArray()); |
| 149 |
|
$this->assertEquals($this->itemSet, $response->get('id')); |
| 150 |
|
} |
| 151 |
|
|
| 152 |
|
/** @test */ |
| 153 |
|
public function api_can_fetch_mount_master_list() |
|
@@ 171-178 (lines=8) @@
|
| 168 |
|
} |
| 169 |
|
|
| 170 |
|
/** @test */ |
| 171 |
|
public function api_can_fetch_pet_abilities() |
| 172 |
|
{ |
| 173 |
|
$response = $this->wow->getPetAbility($this->abilityId); |
| 174 |
|
|
| 175 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 176 |
|
$this->assertArrayHasKey('id', $response->toArray()); |
| 177 |
|
$this->assertEquals($this->abilityId, $response->get('id')); |
| 178 |
|
} |
| 179 |
|
|
| 180 |
|
/** @test */ |
| 181 |
|
public function api_can_fetch_pet_species() |
|
@@ 181-188 (lines=8) @@
|
| 178 |
|
} |
| 179 |
|
|
| 180 |
|
/** @test */ |
| 181 |
|
public function api_can_fetch_pet_species() |
| 182 |
|
{ |
| 183 |
|
$response = $this->wow->getPetSpecies($this->speciesId); |
| 184 |
|
|
| 185 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 186 |
|
$this->assertArrayHasKey('speciesId', $response->toArray()); |
| 187 |
|
$this->assertEquals($this->speciesId, $response->get('speciesId')); |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
/** @test */ |
| 191 |
|
public function api_can_fetch_pet_stats() |
|
@@ 231-238 (lines=8) @@
|
| 228 |
|
} |
| 229 |
|
|
| 230 |
|
/** @test */ |
| 231 |
|
public function api_can_fetch_quest_data() |
| 232 |
|
{ |
| 233 |
|
$response = $this->wow->getQuest($this->questId); |
| 234 |
|
|
| 235 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 236 |
|
$this->assertArrayHasKey('id', $response->toArray()); |
| 237 |
|
$this->assertEquals($this->questId, $response->get('id')); |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
/** @test */ |
| 241 |
|
public function api_can_fetch_realm_status() |
|
@@ 252-259 (lines=8) @@
|
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
/** @test */ |
| 252 |
|
public function api_can_fetch_a_recipe() |
| 253 |
|
{ |
| 254 |
|
$response = $this->wow->getRecipe($this->recipeId); |
| 255 |
|
|
| 256 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 257 |
|
$this->assertArrayHasKey('id', $response->toArray()); |
| 258 |
|
$this->assertEquals($this->recipeId, $response->get('id')); |
| 259 |
|
} |
| 260 |
|
|
| 261 |
|
/** @test */ |
| 262 |
|
public function api_can_fetch_a_spell() |
|
@@ 262-269 (lines=8) @@
|
| 259 |
|
} |
| 260 |
|
|
| 261 |
|
/** @test */ |
| 262 |
|
public function api_can_fetch_a_spell() |
| 263 |
|
{ |
| 264 |
|
$response = $this->wow->getSpell($this->spellId); |
| 265 |
|
|
| 266 |
|
$this->assertInstanceOf(Collection::class, $response); |
| 267 |
|
$this->assertArrayHasKey('id', $response->toArray()); |
| 268 |
|
$this->assertEquals($this->spellId, $response->get('id')); |
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
/** @test */ |
| 272 |
|
public function api_can_fetch_zone_master_list() |