1
0
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:
David Bomba 2023-12-16 18:43:44 +11:00
parent da742cc6a7
commit f58018c8e8

View File

@ -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();