Skip to content

Commit

Permalink
Add assertion to securitySolution test
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Portner committed Mar 17, 2022
1 parent 8d0a571 commit 8117ced
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default ({ getService }: FtrProviderContext) => {
const URL = `/s/${spaceId}${DETECTION_ENGINE_RULES_URL}?id=90e3ca0e-71f7-513a-b60a-ac678efd8887`;
const readRulesAliasMatchRes = await supertest.get(URL).set('kbn-xsrf', 'true').send();
expect(readRulesAliasMatchRes.body.outcome).to.eql('aliasMatch');
expect(readRulesAliasMatchRes.body.alias_purpose).to.eql('savedObjectConversion');

// now that we have the migrated alias_target_id, let's attempt an 'exactMatch' query
// the result of which should have the outcome as undefined when querying the read rules api.
Expand Down

0 comments on commit 8117ced

Please sign in to comment.