Skip to content

Commit

Permalink
Fixing assertions (elastic#19194)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator authored and mattapperson committed Aug 7, 2018
1 parent 88a0e56 commit 75cf004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/test/api_integration/apis/beats/list_beats.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
Expand All @@ -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);
});
});
Expand Down

0 comments on commit 75cf004

Please sign in to comment.