Skip to content

Commit 21138e6

Browse files
authored
Fix Tests
1 parent afb9793 commit 21138e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Github/Tests/Api/GraphQLTest.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ class GraphQLTest extends TestCase
88
/**
99
* @test
1010
*/
11-
1211
public function shouldTestGraphQL()
1312
{
1413
$api = $this->getApiMock();
1514

1615
$api->expects($this->once())
1716
->method('post')
18-
->with('/graphql', 'bar')
17+
->with($this->equalTo('/graphql'), $this->equalTo(['query'=>'bar']))
1918
->will($this->returnValue('foo'));
2019

2120
$result = $api->execute('bar');

0 commit comments

Comments
 (0)