@@ -15,31 +15,31 @@ function let(Client $guzzleClient)
1515 $ this ->beConstructedWith ($ guzzleClient );
1616 }
1717
18- function it_should_custom_reward (Client $ guzzleClient , Response $ response )
18+ function it_should_get_custom_reward (Client $ guzzleClient , Response $ response )
1919 {
2020 $ guzzleClient ->send (new Request ('GET ' , 'channel_points/custom_rewards?broadcaster_id=123 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
2121 $ this ->getCustomReward ('TEST_TOKEN ' , '123 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
2222 }
2323
24- function it_should_custom_reward_with_everything (Client $ guzzleClient , Response $ response )
24+ function it_should_get_custom_reward_with_everything (Client $ guzzleClient , Response $ response )
2525 {
2626 $ guzzleClient ->send (new Request ('GET ' , 'channel_points/custom_rewards?broadcaster_id=123&id=321&only_manageable_rewards=1 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
2727 $ this ->getCustomReward ('TEST_TOKEN ' , '123 ' , ['321 ' ], true )->shouldBeAnInstanceOf (ResponseInterface::class);
2828 }
2929
30- function it_should_custom_reward_redemption (Client $ guzzleClient , Response $ response )
30+ function it_should_get_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 );
3333 $ this ->getCustomRewardRedemption ('TEST_TOKEN ' , '123 ' , '321 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
3434 }
3535
36- function it_should_custom_reward_redemption_with_reward_everything (Client $ guzzleClient , Response $ response )
36+ function it_should_get_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 );
3939 $ this ->getCustomRewardRedemption ('TEST_TOKEN ' , '123 ' , '321 ' , [], 'UNFULFILLED ' , 'OLDEST ' , 'abc ' , '50 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
4040 }
4141
42- function it_should_custom_reward_redemption_with_id_everything (Client $ guzzleClient , Response $ response )
42+ function it_should_get_custom_reward_redemption_with_id_everything (Client $ guzzleClient , Response $ response )
4343 {
4444 $ guzzleClient ->send (new Request ('GET ' , 'channel_points/custom_rewards/redemptions?broadcaster_id=123&id=321&id=333&status=UNFULFILLED&sort=OLDEST&after=abc&first=50 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
4545 $ this ->getCustomRewardRedemption ('TEST_TOKEN ' , '123 ' , null , ['321 ' , '333 ' ], 'UNFULFILLED ' , 'OLDEST ' , 'abc ' , '50 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
0 commit comments