We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 147-158 (lines=12) @@ | ||
144 | * @expectedException \Symfony\Component\HttpKernel\Exception\BadRequestHttpException |
|
145 | * @expectedExceptionMessage Variables are invalid JSON |
|
146 | */ |
|
147 | public function testEndpointActionWithInvalidVariables() |
|
148 | { |
|
149 | $client = static::createClient(['test_case' => 'connection']); |
|
150 | ||
151 | $query = <<<'EOF' |
|
152 | query { |
|
153 | user |
|
154 | } |
|
155 | EOF; |
|
156 | ||
157 | $client->request('GET', '/', ['query' => $query, 'variables' => '"firstFriends": 2}']); |
|
158 | } |
|
159 | ||
160 | /** |
|
161 | * @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException |
|
@@ 164-175 (lines=12) @@ | ||
161 | * @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException |
|
162 | * @expectedExceptionMessage Could not found "fake" schema. |
|
163 | */ |
|
164 | public function testMultipleEndpointActionWithUnknownSchemaName() |
|
165 | { |
|
166 | $client = static::createClient(['test_case' => 'connection']); |
|
167 | ||
168 | $query = <<<'EOF' |
|
169 | query { |
|
170 | user |
|
171 | } |
|
172 | EOF; |
|
173 | ||
174 | $client->request('GET', '/graphql/fake', ['query' => $query]); |
|
175 | } |
|
176 | ||
177 | public function testEndpointActionWithOperationName() |
|
178 | { |