Skip to content

Commit

Permalink
Fixes typecheck in test
Browse files Browse the repository at this point in the history
  • Loading branch information
spong committed Nov 9, 2021
1 parent 69381fb commit 1a7fa8b
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,10 @@ export default ({ getService }: FtrProviderContext): void => {
it('migrates legacy siem-detection-engine-rule-status and removes alertId when not a string', async () => {
const response = await es.get<{
'siem-detection-engine-rule-status': IRuleStatusSOAttributes;
}>(
{
index: '.kibana',
id: 'siem-detection-engine-rule-status:d62d2980-27c4-11ec-92b0-f7b47106bb36',
},
{ meta: true }
);
}>({
index: '.kibana',
id: 'siem-detection-engine-rule-status:d62d2980-27c4-11ec-92b0-f7b47106bb36',
});
expect(response.statusCode).to.eql(200);

expect(response.body._source?.['siem-detection-engine-rule-status']).to.eql({
Expand Down

0 comments on commit 1a7fa8b

Please sign in to comment.