Skip to content

Commit

Permalink
Fix test for it_should_get_goals_by_broadcaster_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandin committed Jun 10, 2023
1 parent 511caa0 commit 80df8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/TwitchApi/Resources/GoalsApiSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function let(HelixGuzzleClient $guzzleClient, RequestGenerator $requestGenerator
function it_should_get_goals_by_broadcaster_id(RequestGenerator $requestGenerator, Request $request, Response $response)
{
$requestGenerator->generate('GET', 'goals', 'TEST_TOKEN', [['key' => 'broadcaster_id', 'value' => '123']], [])->willReturn($request);
$this->getGoals('TEST_TOKEN', ['123'])->shouldBe($response);
$this->getGoals('TEST_TOKEN', '123')->shouldBe($response);
}

}

0 comments on commit 80df8b1

Please sign in to comment.