mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for tests
This commit is contained in:
parent
65afb4242b
commit
e51c545f1a
@ -85,8 +85,9 @@ class CompanyTest extends TestCase
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
->assertStatus(200)->decodeResponseJson();
|
->assertStatus(200)->decodeResponseJson();
|
||||||
|
//Log::error($response);
|
||||||
|
|
||||||
$company = Company::find($this->decodePrimaryKey($response['data']['id']));
|
$company = Company::find($this->decodePrimaryKey($response['data']['company_users'][0]['company']['id']));
|
||||||
|
|
||||||
$token = CompanyToken::whereCompanyId($company->id)->first()->token;
|
$token = CompanyToken::whereCompanyId($company->id)->first()->token;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user