mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for tests"
This commit is contained in:
parent
05ce11138e
commit
4a14206e84
@ -204,6 +204,7 @@ class MultiDBUserTest extends TestCase
|
|||||||
$response = $this->withHeaders([
|
$response = $this->withHeaders([
|
||||||
'X-API-SECRET' => config('ninja.api_secret'),
|
'X-API-SECRET' => config('ninja.api_secret'),
|
||||||
'X-API-TOKEN' => $this->token,
|
'X-API-TOKEN' => $this->token,
|
||||||
|
'X-API-PASSWORD' => 'ALongAndBriliantPassword',
|
||||||
])->post('/api/v1/users?include=company_user', $data);
|
])->post('/api/v1/users?include=company_user', $data);
|
||||||
} catch (ValidationException $e) {
|
} catch (ValidationException $e) {
|
||||||
\Log::error('in the validator');
|
\Log::error('in the validator');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user