Skip to content

Commit

Permalink
[FTR] Merge Alerting Apis from x-pack/test_serverless/shared into `…
Browse files Browse the repository at this point in the history
…x-pack/test/api_integration/deployment_agnostic` (#193975)

## Summary

Follow up of [this pr](#192216),
per [this
discussion](#192216 (comment)).

Also, switch from `svlCommonApi` to `samlAuth` for internal headers.

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Dzmitry Lemechko <[email protected]>
  • Loading branch information
3 people authored Sep 30, 2024
1 parent abffb37 commit 10c3373
Show file tree
Hide file tree
Showing 11 changed files with 910 additions and 1,085 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
});

it('should find the created rule with correct information about the consumer', async () => {
const match = await alertingApi.findRule(ruleId, adminRoleAuthc);
const match = await alertingApi.findInRules(adminRoleAuthc, ruleId);
expect(match).not.to.be(undefined);
expect(match.consumer).to.be(expectedConsumer);
});
Expand Down
Loading

0 comments on commit 10c3373

Please sign in to comment.