@@ -66,30 +66,30 @@ function it_should_get_streams_by_game_ids(Client $guzzleClient, Response $respo
66
66
function it_should_get_streams_by_languages (Client $ guzzleClient , Response $ response )
67
67
{
68
68
$ guzzleClient ->send (new Request ('GET ' , 'streams?language=en&language=de ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
69
- $ this ->getStreams ('TEST_TOKEN ' , [], [], [], [], [ 'en ' , 'de ' ])->shouldBeAnInstanceOf (ResponseInterface::class);
69
+ $ this ->getStreams ('TEST_TOKEN ' , [], [], [], ['en ' , 'de ' ])->shouldBeAnInstanceOf (ResponseInterface::class);
70
70
}
71
71
72
72
function it_should_get_streams_page_by_first (Client $ guzzleClient , Response $ response )
73
73
{
74
74
$ guzzleClient ->send (new Request ('GET ' , 'streams?first=42 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
75
- $ this ->getStreams ('TEST_TOKEN ' , [], [], [], [], [], 42 )->shouldBeAnInstanceOf (ResponseInterface::class);
75
+ $ this ->getStreams ('TEST_TOKEN ' , [], [], [], [], 42 )->shouldBeAnInstanceOf (ResponseInterface::class);
76
76
}
77
77
78
78
function it_should_get_streams_page_by_before (Client $ guzzleClient , Response $ response )
79
79
{
80
80
$ guzzleClient ->send (new Request ('GET ' , 'streams?before=42 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
81
- $ this ->getStreams ('TEST_TOKEN ' , [], [], [], [], [], null , 42 )->shouldBeAnInstanceOf (ResponseInterface::class);
81
+ $ this ->getStreams ('TEST_TOKEN ' , [], [], [], [], null , 42 )->shouldBeAnInstanceOf (ResponseInterface::class);
82
82
}
83
83
84
84
function it_should_get_streams_page_by_after (Client $ guzzleClient , Response $ response )
85
85
{
86
86
$ guzzleClient ->send (new Request ('GET ' , 'streams?after=42 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
87
- $ this ->getStreams ('TEST_TOKEN ' , [], [], [], [], [], null , null , 42 )->shouldBeAnInstanceOf (ResponseInterface::class);
87
+ $ this ->getStreams ('TEST_TOKEN ' , [], [], [], [], null , null , 42 )->shouldBeAnInstanceOf (ResponseInterface::class);
88
88
}
89
89
90
90
function it_should_get_streams_by_everything (Client $ guzzleClient , Response $ response )
91
91
{
92
92
$ guzzleClient ->send (new Request ('GET ' , 'streams?user_id=12&user_id=34&user_login=twitchuser&user_login=anotheruser&game_id=56&game_id=78&language=en&language=de&first=100&before=200&after=300 ' , ['Authorization ' => 'Bearer TEST_TOKEN ' ]))->willReturn ($ response );
93
- $ this ->getStreams ('TEST_TOKEN ' , ['12 ' , '34 ' ], ['twitchuser ' , 'anotheruser ' ], ['56 ' , '78 ' ], [], [ 'en ' , 'de ' ], 100 , 200 , 300 )->shouldBeAnInstanceOf (ResponseInterface::class);
93
+ $ this ->getStreams ('TEST_TOKEN ' , ['12 ' , '34 ' ], ['twitchuser ' , 'anotheruser ' ], ['56 ' , '78 ' ], ['en ' , 'de ' ], 100 , 200 , 300 )->shouldBeAnInstanceOf (ResponseInterface::class);
94
94
}
95
95
}
0 commit comments