We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe27af8 + c60cc21 commit ba69b3dCopy full SHA for ba69b3d
test/Github/Tests/Api/GraphQLTest.php
@@ -27,7 +27,8 @@ public function shouldSupportGraphQLVariables()
27
{
28
$api = $this->getApiMock();
29
30
- $api->method('post')
+ $api->expects($this->once())
31
+ ->method('post')
32
->with('/graphql', $this->arrayHasKey('variables'));
33
34
$api->execute('bar', ['variable' => 'foo']);
@@ -40,7 +41,8 @@ public function shouldJSONEncodeGraphQLVariables()
40
41
42
43
44
45
46
->with('/graphql', $this->equalTo([
47
'query'=>'bar',
48
'variables' => '{"variable":"foo"}',
0 commit comments