Skip to content

Commit 0151c33

Browse files
living42Mikk Mihkel Nurges
authored andcommitted
Fix tests (#162)
1 parent f2c7b17 commit 0151c33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/EndpointTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testGetWithVariables()
5252
{
5353
$response = $this->call('GET', '/graphql', [
5454
'query' => $this->queries['examplesWithVariables'],
55-
'params' => [
55+
'variables' => [
5656
'index' => 0
5757
]
5858
]);
@@ -97,13 +97,13 @@ public function testBatchedQueries() {
9797
$response = $this->call('GET', '/graphql', [
9898
[
9999
'query' => $this->queries['examplesWithVariables'],
100-
'params' => [
100+
'variables' => [
101101
'index' => 0
102102
]
103103
],
104104
[
105105
'query' => $this->queries['examplesWithVariables'],
106-
'params' => [
106+
'variables' => [
107107
'index' => 0
108108
]
109109
]

0 commit comments

Comments
 (0)