Minor fixes

This commit is contained in:
David Bomba 2021-07-21 09:21:46 +10:00
parent a470ecbe2c
commit 9ecbaea186

View File

@ -91,6 +91,8 @@ class CreateAccount extends Command
$account = Account::factory()->create(); $account = Account::factory()->create();
$company = Company::factory()->create([ $company = Company::factory()->create([
'account_id' => $account->id, 'account_id' => $account->id,
'portal_domain' => config('ninja.app_url'),
'portal_mode' => 'domain',
]); ]);
$account->default_company_id = $company->id; $account->default_company_id = $company->id;