Skip to content

Commit bdd55f1

Browse files
committed
Resolve Build Errors
1 parent 8a7d29e commit bdd55f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/NewTwitchApi/Resources/ChannelPointsApiSpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ function it_should_custom_reward_with_everything(Client $guzzleClient, Response
3030
function it_should_custom_reward_redemption(Client $guzzleClient, Response $response)
3131
{
3232
$guzzleClient->send(new Request('GET', 'channel_points/custom_rewards/redemptions?broadcaster_id=123&reward_id=321', ['Authorization' => 'Bearer TEST_TOKEN']))->willReturn($response);
33-
$this->getCustomReward('TEST_TOKEN', '123', '321')->shouldBeAnInstanceOf(ResponseInterface::class);
33+
$this->getCustomRewardRedemption('TEST_TOKEN', '123', '321')->shouldBeAnInstanceOf(ResponseInterface::class);
3434
}
3535

3636
function it_should_custom_reward_redemption_with_reward_everything(Client $guzzleClient, Response $response)
3737
{
3838
$guzzleClient->send(new Request('GET', 'channel_points/custom_rewards/redemptions?broadcaster_id=123&reward_id=321&status=UNFULFILLED&sort=OLDEST&after=abc&first=50', ['Authorization' => 'Bearer TEST_TOKEN']))->willReturn($response);
39-
$this->getCustomRewardRedemption('TEST_TOKEN', '123', '321', null, 'UNFULFILLED', 'OLDEST', 'abc', '50')->shouldBeAnInstanceOf(ResponseInterface::class);
39+
$this->getCustomRewardRedemption('TEST_TOKEN', '123', '321', [], 'UNFULFILLED', 'OLDEST', 'abc', '50')->shouldBeAnInstanceOf(ResponseInterface::class);
4040
}
4141

4242
function it_should_custom_reward_redemption_with_id_everything(Client $guzzleClient, Response $response)

0 commit comments

Comments
 (0)