Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 3 | ||
Bugs | 1 | Features | 1 |
1 | <?php declare(strict_types=1); |
||
16 | 1 | public function testLoad(): void |
|
17 | { |
||
18 | 1 | $yamlLoader = new YamlConfigLoader; |
|
19 | 1 | $locations = [__DIR__.'/Fixture/YamlConfigLoader']; |
|
20 | 1 | $sources = ['fixture.yml']; |
|
21 | 1 | $expecation = require __DIR__.'/Fixture/YamlConfigLoader/load_expectation.php'; |
|
22 | 1 | $this->assertEquals($expecation, $yamlLoader->load($locations, $sources)); |
|
23 | 1 | } |
|
34 |