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