Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 4 | ||
Bugs | 1 | Features | 2 |
1 | <?php |
||
15 | class ModulesManagerTest extends AbstractTest |
||
16 | { |
||
17 | public function test_getNames() |
||
23 | } |
||
24 | |||
25 | public function test_hasModule() |
||
26 | { |
||
27 | $this->prepareConfig(); |
||
28 | $manager = new ModulesManager(); |
||
29 | |||
30 | self::assertTrue($manager->hasModule('admin')); |
||
31 | self::assertFalse($manager->hasModule('dnf')); |
||
32 | } |
||
33 | |||
34 | public function test_loadFromConfig() |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param string $file |
||
44 | */ |
||
45 | protected function prepareConfig($file = 'basic') |
||
50 | } |
||
51 | } |
||
52 |