changed tests for ci
This commit is contained in:
parent
e0175c2928
commit
0393027571
@ -2,9 +2,20 @@
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Artisan;
|
||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
{
|
||||
use CreatesApplication;
|
||||
}
|
||||
use CreatesApplication, DatabaseMigrations;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
Artisan::call('db:seed', ['--class' => '\Database\Seeds\TestCompany', '--force' => true]);
|
||||
Artisan::call('company:seed',['company' => 1]);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user