1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +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();
$this->assertNotNull($company_user);
$company_user->settings = $settings;
$this->user->company_user = $company_user;
$this->user->setRelation('company_user', $company_user);
$user['company_user'] = $company_user->toArray();
$response = null;