mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Minor fixes for tests
This commit is contained in:
parent
da742cc6a7
commit
f58018c8e8
@ -269,6 +269,9 @@ trait MockAccountData
|
|||||||
$this->company->save();
|
$this->company->save();
|
||||||
|
|
||||||
$this->account->default_company_id = $this->company->id;
|
$this->account->default_company_id = $this->company->id;
|
||||||
|
$this->account->plan = 'pro';
|
||||||
|
$this->account->plan_expires = now()->addMonth();
|
||||||
|
$this->account->plan_term = "month";
|
||||||
$this->account->save();
|
$this->account->save();
|
||||||
|
|
||||||
$user = User::whereEmail($fake_email)->first();
|
$user = User::whereEmail($fake_email)->first();
|
||||||
|
Loading…
Reference in New Issue
Block a user