Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class SectionTest extends AbstractTest |
||
14 | { |
||
15 | public function test_visibleIn() |
||
16 | { |
||
17 | $section = new Section(); |
||
18 | $section->writeData(['visibleIn' => ['admin']]); |
||
19 | |||
20 | self::assertTrue($section->visibleIn('admin')); |
||
21 | self::assertFalse($section->visibleIn('frontend')); |
||
22 | } |
||
23 | |||
24 | public function test_getURL() |
||
30 | } |
||
31 | |||
32 | protected function initRequest() |
||
43 | } |
||
44 | } |