| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class MakeThemeTest extends ThemeTestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Verifica se consegue criar um tema com um vendor válido |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function testCreateTheme() |
||
| 19 | { |
||
| 20 | $theme = new Theme('bands/ozzy'); |
||
| 21 | |||
| 22 | $theme = $theme->make(); |
||
| 23 | |||
| 24 | $this->assertInstanceOf(Theme::class, $theme); |
||
| 25 | $this->assertDirectoryExists($theme->paths()->root()); |
||
| 26 | $this->assertDirectoryExists($theme->paths()->source()); |
||
| 27 | $this->assertDirectoryExists($theme->paths()->assets()); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Verifica se consegue criar um tema já existe na base |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function testCreateExistingTheme() |
||
| 44 | } |
||
| 45 | } |