mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Add app tests
This commit is contained in:
parent
e330ea7aa1
commit
35da5a0a2f
@ -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]));
|
||||
|
Loading…
x
Reference in New Issue
Block a user