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