28 lines
613 B
PHP
28 lines
613 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Cachet HQ <support@cachethq.io>
|
|
*
|
|
* 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;
|
|
|
|
class CommandTest extends AbstractTestCase
|
|
{
|
|
public function testMigrations()
|
|
{
|
|
$this->assertSame(0, $this->getKernel()->call('migrate', ['--force' => true]));
|
|
}
|
|
|
|
protected function getKernel()
|
|
{
|
|
return $this->app->make('Illuminate\Contracts\Console\Kernel');
|
|
}
|
|
}
|