Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function testFileConstructGood() |
||
23 | { |
||
24 | $store = new FileConfigStore(['path' => 'test']); |
||
25 | $this->assertEquals(Director::baseFolder() . '/test/lol', $store->instanceDir('lol')); |
||
26 | |||
27 | $this->assertEquals(['path' => Director::baseFolder() . '/test'], $store->getConfig()); |
||
28 | } |
||
54 |