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:
parent
2fd861d65c
commit
fa7ce1bc24
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user