diff --git a/tests/EndpointTest.php b/tests/EndpointTest.php index 59ed6afa..de8a7126 100644 --- a/tests/EndpointTest.php +++ b/tests/EndpointTest.php @@ -52,7 +52,7 @@ public function testGetWithVariables() { $response = $this->call('GET', '/graphql', [ 'query' => $this->queries['examplesWithVariables'], - 'params' => [ + 'variables' => [ 'index' => 0 ] ]); @@ -97,13 +97,13 @@ public function testBatchedQueries() { $response = $this->call('GET', '/graphql', [ [ 'query' => $this->queries['examplesWithVariables'], - 'params' => [ + 'variables' => [ 'index' => 0 ] ], [ 'query' => $this->queries['examplesWithVariables'], - 'params' => [ + 'variables' => [ 'index' => 0 ] ]