* @author James Brooks */ 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])); } public function testSeed() { $this->assertSame(0, $this->app->make(Kernel::class)->call('cachet:seed')); } public function testBeacon() { $this->assertSame(0, $this->app->make(Kernel::class)->call('cachet:beacon')); } public function testVersion() { $this->assertSame(0, $this->app->make(Kernel::class)->call('cachet:version')); } }