| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function theMetadataEndpointIsAvailable() |
||
| 41 | { |
||
| 42 | $client = static::createClient(); |
||
| 43 | $client->request('GET', '/.well-known/openid-configuration', [], [], ['HTTPS' => 'on']); |
||
| 44 | $response = $client->getResponse(); |
||
| 45 | self::assertEquals(200, $response->getStatusCode()); |
||
| 46 | self::assertEquals('application/json; charset=UTF-8', $response->headers->get('content-type')); |
||
| 47 | $content = json_decode($response->getContent(), true); |
||
| 48 | self::assertInternalType('array', $content); |
||
| 49 | } |
||
| 50 | } |
||
| 51 |