prepaeres to some code for the tests
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
namespace Database\Seeds;
|
||||
|
||||
use App\Models\Common\Company;
|
||||
use App\Models\Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Setting;
|
||||
@ -24,7 +25,7 @@ class Settings extends Seeder
|
||||
|
||||
private function create()
|
||||
{
|
||||
$company_id = $this->command->argument('company');
|
||||
$company_id = Company::first()->id;
|
||||
|
||||
Setting::set([
|
||||
'general.date_format' => 'd M Y',
|
||||
|
Reference in New Issue
Block a user