This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
forked from cachethq/cachet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2192d7
commit 2a9d1b4
Showing
3 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Cachet. | ||
* | ||
* (c) Alt Three Services Limited | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace CachetHQ\Tests\Cachet\Functional; | ||
|
||
use CachetHQ\Tests\Cachet\AbstractTestCase; | ||
use Illuminate\Contracts\Console\Kernel; | ||
|
||
/** | ||
* This is the app command test class. | ||
* | ||
* @author Graham Campbell <[email protected]> | ||
* @author James Brooks <[email protected]> | ||
*/ | ||
class AppCommandTest extends AbstractTestCase | ||
{ | ||
public function testInstall() | ||
{ | ||
$this->assertSame(0, $this->app->make(Kernel::class)->call('app:install')); | ||
} | ||
|
||
public function testReset() | ||
{ | ||
$this->assertSame(0, $this->app->make(Kernel::class)->call('app:reset')); | ||
} | ||
|
||
public function testUpdate() | ||
{ | ||
$this->assertSame(0, $this->app->make(Kernel::class)->call('app:reset')); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,12 @@ | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | ||
|
||
/** | ||
* This is the command test class. | ||
* This is the artisan command test class. | ||
* | ||
* @author Graham Campbell <[email protected]> | ||
* @author James Brooks <[email protected]> | ||
*/ | ||
class CommandTest extends AbstractTestCase | ||
class ArtisanCommandTest extends AbstractTestCase | ||
{ | ||
use DatabaseMigrations; | ||
|
||
|