| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | public function testImportTheme() |
||
| 10 | { |
||
| 11 | $name = 'bands/manowar'; |
||
| 12 | |||
| 13 | $theme1 = new Theme($name); |
||
| 14 | |||
| 15 | $theme1->description('Hail to the Engaland')->make(); |
||
| 16 | |||
| 17 | $theme2 = new Theme($name); |
||
| 18 | |||
| 19 | $this->assertEquals($theme1->author(), $theme2->author()); |
||
| 20 | $this->assertEquals($theme1->package(), $theme2->package()); |
||
| 21 | $this->assertEquals($theme1->description(), $theme2->description()); |
||
| 22 | $this->assertEquals($theme1->paths()->root(), $theme2->paths()->root()); |
||
| 23 | $this->assertEquals($theme1->paths()->source(), $theme2->paths()->source()); |
||
| 24 | } |
||
| 25 | } |