Skip to content

Commit

Permalink
Fixing assertions (#19194)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator authored May 18, 2018
1 parent fca4883 commit e97d9d4
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 e97d9d4

Please sign in to comment.