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