Add app tests

This commit is contained in:
James Brooks 2018-06-17 09:41:03 +01:00
parent e330ea7aa1
commit 35da5a0a2f

View File

@ -25,6 +25,21 @@ class ArtisanCommandTest extends AbstractTestCase
{
use DatabaseMigrations;
public function testAppInstall()
{
$this->assertSame(0, $this->app->make(Kernel::class)->call('app:install');
}
public function testAppReset()
{
$this->assertSame(0, $this->app->make(Kernel::class)->call('app:reset');
}
public function testAppUpdate()
{
$this->assertSame(0, $this->app->make(Kernel::class)->call('app:update');
}
public function testMigrations()
{
$this->assertSame(0, $this->app->make(Kernel::class)->call('migrate', ['--force' => true]));