Skip to content

Commit

Permalink
test: add points to match endpoint(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Jan 11, 2022
1 parent 4f6a3b9 commit 9ab63df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/Mocks/Matches/MockMatchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ public function success(string $gamertag1, string $gamertag2): array
],
'kda' => $this->faker->randomFloat(2, 0, 10),
'kdr' => $this->faker->randomFloat(2, 0, 10),
'score' => $this->faker->numerify('####')
'score' => $this->faker->numerify('####'),
'points' => $this->faker->numberBetween(0, 50),
],
'mode' => $this->getMode($randomCategoryName),
],
Expand Down
3 changes: 2 additions & 1 deletion tests/Mocks/Matches/MockMatchesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ public function success(string $gamertag, int $count = 2, int $offset = 0): arra
],
'kda' => $this->faker->randomFloat(2, 0, 10),
'kdr' => $this->faker->randomFloat(2, 0, 10),
'score' => $this->faker->numerify('####')
'score' => $this->faker->numerify('####'),
'points' => $this->faker->numberBetween(0, 50),
],
'mode' => null,
],
Expand Down

0 comments on commit 9ab63df

Please sign in to comment.