| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 13 | public function testGetDescriptor(): void |
||
| 14 | { |
||
| 15 | $client = self::createClient(['environment' => 'prod']); |
||
| 16 | $client->request('GET', '/atlassian-connect.json'); |
||
| 17 | |||
| 18 | $this->assertResponseIsSuccessful(); |
||
| 19 | |||
| 20 | $descriptor = \json_decode($client->getResponse()->getContent(), true); |
||
| 21 | $config = self::getParentContainer()->getParameter('atlassian_connect'); |
||
| 22 | $this->assertSame( |
||
| 23 | $config['prod'], |
||
| 24 | $descriptor |
||
| 25 | ); |
||
| 28 |