Fixes for project tests

This commit is contained in:
David Bomba 2021-12-08 14:11:13 +11:00
parent f3d91c4414
commit 64e0da2958

View File

@ -297,6 +297,7 @@ trait MockAccountData
$this->project = Project::factory()->create([ $this->project = Project::factory()->create([
'user_id' => $user_id, 'user_id' => $user_id,
'company_id' => $this->company->id, 'company_id' => $this->company->id,
'client_id' => $this->client->id,
]); ]);
$this->expense = Expense::factory()->create([ $this->expense = Expense::factory()->create([