| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class GetCurrentThemeTest extends TestCase |
||
| 10 | { |
||
| 11 | public function testGetExistingTheme() |
||
| 12 | { |
||
| 13 | $theme = new Theme('bands/alice-in-chains'); |
||
| 14 | |||
| 15 | $theme->make()->use(); |
||
| 16 | |||
| 17 | $current = Samurai::base()->current(); |
||
|
|
|||
| 18 | |||
| 19 | $this->assertValidTheme($current); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function testGetInexistingCurrentTheme() |
||
| 27 | } |
||
| 28 | } |