mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
15 lines
387 B
PHP
15 lines
387 B
PHP
|
<?php
|
||
|
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||
|
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
||
|
|
||
|
class BaseTest extends \Codeception\TestCase\Test
|
||
|
{
|
||
|
use DatabaseTransactions;
|
||
|
protected function _before()
|
||
|
{
|
||
|
Artisan::call('migrate');
|
||
|
factory(App\Models\Setting::class)->create();
|
||
|
}
|
||
|
}
|