@@ -15,31 +15,31 @@ function let(Client $guzzleClient)
15
15
$ this ->beConstructedWith ($ guzzleClient );
16
16
}
17
17
18
- function it_should_custom_reward (Client $ guzzleClient , Response $ response )
18
+ function it_should_get_custom_reward (Client $ guzzleClient , Response $ response )
19
19
{
20
20
$ guzzleClient ->send (new Request ('GET ' , 'channel_points/custom_rewards?broadcaster_id=123 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
21
21
$ this ->getCustomReward ('TEST_TOKEN ' , '123 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
22
22
}
23
23
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 )
25
25
{
26
26
$ guzzleClient ->send (new Request ('GET ' , 'channel_points/custom_rewards?broadcaster_id=123&id=321&only_manageable_rewards=1 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
27
27
$ this ->getCustomReward ('TEST_TOKEN ' , '123 ' , ['321 ' ], true )->shouldBeAnInstanceOf (ResponseInterface::class);
28
28
}
29
29
30
- function it_should_custom_reward_redemption (Client $ guzzleClient , Response $ response )
30
+ function it_should_get_custom_reward_redemption (Client $ guzzleClient , Response $ response )
31
31
{
32
32
$ guzzleClient ->send (new Request ('GET ' , 'channel_points/custom_rewards/redemptions?broadcaster_id=123&reward_id=321 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
33
33
$ this ->getCustomRewardRedemption ('TEST_TOKEN ' , '123 ' , '321 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
34
34
}
35
35
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 )
37
37
{
38
38
$ 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
39
$ this ->getCustomRewardRedemption ('TEST_TOKEN ' , '123 ' , '321 ' , [], 'UNFULFILLED ' , 'OLDEST ' , 'abc ' , '50 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
40
40
}
41
41
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 )
43
43
{
44
44
$ 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 );
45
45
$ this ->getCustomRewardRedemption ('TEST_TOKEN ' , '123 ' , null , ['321 ' , '333 ' ], 'UNFULFILLED ' , 'OLDEST ' , 'abc ' , '50 ' )->shouldBeAnInstanceOf (ResponseInterface::class);
0 commit comments