| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testLoadDefault(): void |
||
| 20 | { |
||
| 21 | $this->load([ |
||
| 22 | 'api' => [ |
||
| 23 | 'key' => '0815', |
||
| 24 | ], |
||
| 25 | 'http' => [ |
||
| 26 | 'client' => 'acme.client', |
||
| 27 | 'message_factory' => 'acme.message_factory', |
||
| 28 | ], |
||
| 29 | ]); |
||
| 30 | |||
| 31 | $this->assertContainerBuilderHasParameter('core23_setlistfm.api.endpoint', 'https://api.setlist.fm/rest/1.0/'); |
||
| 32 | $this->assertContainerBuilderHasParameter('core23_setlistfm.api.key', '0815'); |
||
| 33 | |||
| 34 | $this->assertContainerBuilderHasAlias('core23_setlistfm.http.client', 'acme.client'); |
||
| 35 | $this->assertContainerBuilderHasAlias('core23_setlistfm.http.message_factory', 'acme.message_factory'); |
||
| 36 | } |
||
| 37 | |||
| 45 |