From 4a14206e843f956c0ad0200e9875752294751da0 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 19 Aug 2020 11:49:33 +1000 Subject: [PATCH] Fixes for tests" --- tests/Integration/MultiDBUserTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Integration/MultiDBUserTest.php b/tests/Integration/MultiDBUserTest.php index 91bf4ac66f26..29220cdd5c30 100644 --- a/tests/Integration/MultiDBUserTest.php +++ b/tests/Integration/MultiDBUserTest.php @@ -204,7 +204,8 @@ class MultiDBUserTest extends TestCase $response = $this->withHeaders([ 'X-API-SECRET' => config('ninja.api_secret'), 'X-API-TOKEN' => $this->token, - ])->post('/api/v1/users?include=company_user', $data); + 'X-API-PASSWORD' => 'ALongAndBriliantPassword', + ])->post('/api/v1/users?include=company_user', $data); } catch (ValidationException $e) { \Log::error('in the validator'); $message = json_decode($e->validator->getMessageBag(), 1);