1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00

Fixes for tests

This commit is contained in:
David Bomba 2024-09-03 09:49:29 +10:00
parent 2fd861d65c
commit fa7ce1bc24

View File

@ -101,11 +101,12 @@ class UpdateCompanyUserTest extends TestCase
->first(); ->first();
$this->assertNotNull($company_user); $this->assertNotNull($company_user);
$company_user->settings = $settings; $company_user->settings = $settings;
$this->user->company_user = $company_user; $this->user->company_user = $company_user;
$this->user->setRelation('company_user', $company_user);
$user['company_user'] = $company_user->toArray(); $user['company_user'] = $company_user->toArray();
$response = null; $response = null;