Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiWu committed Apr 2, 2024
1 parent c9b5edc commit ccfd927
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ export default function userManagedApiKeyTest({ getService }: FtrProviderContext
.send({ ids: [ruleId] });
expect(response.status).to.eql(200);
expect(response.body.rules[0].enabled).to.eql(true);
expect(response.body.rules[0].apiKeyCreatedByUser).to.eql(true);
expect(response.body.rules[0].api_key_created_by_user).to.eql(true);

// Ensure AAD isn't broken
await checkAAD({
Expand All @@ -514,7 +514,7 @@ export default function userManagedApiKeyTest({ getService }: FtrProviderContext
.send({ ids: [ruleId] });
expect(response.status).to.eql(200);
expect(response.body.rules[0].enabled).to.eql(true);
expect(response.body.rules[0].apiKeyCreatedByUser).to.eql(false);
expect(response.body.rules[0].api_key_created_by_user).to.eql(false);

// Ensure AAD isn't broken
await checkAAD({
Expand Down

0 comments on commit ccfd927

Please sign in to comment.