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