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