Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Dec 14, 2023
1 parent 89a92fd commit a469842
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,8 @@ export default function ({ getService }: FtrProviderContext) {
.get('/internal/security/has_api_keys')
.set(svlCommonApi.getInternalRequestHeader()));
// expect success because we're using the internal header
expect(body).toEqual(
expect.objectContaining({
apiKeys: expect.arrayContaining([expect.objectContaining({ id: roleMapping.id })]),
})
);
expect(status).toBe(200);
expect(body).toEqual({ hasApiKeys: true });
});

it('invalidate', async () => {
Expand Down

0 comments on commit a469842

Please sign in to comment.