| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class UseThemeTest extends ThemeTestCase |
||
| 11 | { |
||
| 12 | public function testUseExistingTheme() |
||
| 23 | } |
||
| 24 | |||
| 25 | public function testUseInexistingTheme() |
||
| 34 | } |
||
| 35 | |||
| 36 | private function currentTheme() : string |
||
| 37 | { |
||
| 38 | $key = $this->getEnvKey(); |
||
| 39 | |||
| 40 | $env = new EnvHandler(); |
||
| 41 | |||
| 42 | return $env->get($key); |
||
|
|
|||
| 43 | } |
||
| 44 | |||
| 45 | private function getEnvKey() : string |
||
| 50 | } |
||
| 51 | } |