maestriam /
samurai
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Maestriam\Samurai\Tests\Feature\Facade; |
||
| 4 | |||
| 5 | use Maestriam\Samurai\Support\Samurai; |
||
| 6 | use Maestriam\Samurai\Tests\TestCase; |
||
| 7 | |||
| 8 | class PublishThemeTest extends TestCase |
||
| 9 | { |
||
| 10 | public function testGetExistingTheme() |
||
| 11 | { |
||
| 12 | $name = 'bands/stage-dolls'; |
||
| 13 | |||
| 14 | $this->theme($name)->findOrCreate(); |
||
| 15 | |||
| 16 | $published = Samurai::theme($name)->publish(); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 17 | |||
| 18 | $this->assertIsBool($published); |
||
| 19 | $this->assertTrue($published); |
||
| 20 | } |
||
| 21 | } |