From 50d4220aac81757343063bb6025abb2314e93ffd Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Thu, 17 May 2018 19:48:31 -0700 Subject: [PATCH] Fixing assertions --- x-pack/test/api_integration/apis/beats/list_beats.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/test/api_integration/apis/beats/list_beats.js b/x-pack/test/api_integration/apis/beats/list_beats.js index dfd0dccf32cc0..c8e1c754b622c 100644 --- a/x-pack/test/api_integration/apis/beats/list_beats.js +++ b/x-pack/test/api_integration/apis/beats/list_beats.js @@ -25,7 +25,7 @@ export default function ({ getService }) { const beatsFromApi = apiResponse.beats; - expect(beatsFromApi.length).to.be(3); + expect(beatsFromApi.length).to.be(4); expect(beatsFromApi.filter(beat => beat.hasOwnProperty('verified_on')).length).to.be(1); expect(beatsFromApi.find(beat => beat.hasOwnProperty('verified_on')).id).to.be('foo'); }); @@ -39,7 +39,7 @@ export default function ({ getService }) { const beatsFromApi = apiResponse.beats; - expect(beatsFromApi.length).to.be(3); + expect(beatsFromApi.length).to.be(4); expect(beatsFromApi.filter(beat => beat.hasOwnProperty('access_token')).length).to.be(0); }); });