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