Skip to content

Commit

Permalink
Function Keying Error it_should_get_a_single_user_by_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandin committed Dec 7, 2020
1 parent fbcda8e commit 9f4d8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/NewTwitchApi/Resources/StreamsApiSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function it_should_get_streams_by_id_and_username(Client $guzzleClient, Response
$this->getStreams('TEST_TOKEN', ['12345', '98765'], ['twitchuser', 'anotheruser'])->shouldBeAnInstanceOf(ResponseInterface::class);
}

function it_should_get_a_single_user_id_id(Client $guzzleClient, Response $response)
function it_should_get_a_single_user_by_id(Client $guzzleClient, Response $response)
{
$guzzleClient->send(new Request('GET', 'streams?user_id=12345', ['Authorization' => 'Bearer TEST_TOKEN']))->willReturn($response);
$this->getStreamForUserId('TEST_TOKEN', '12345')->shouldBeAnInstanceOf(ResponseInterface::class);
Expand Down

0 comments on commit 9f4d8d2

Please sign in to comment.