Skip to content

Commit

Permalink
Fixes /internal/security/me serverless test (elastic#195846)
Browse files Browse the repository at this point in the history
## Summary

Replaces the name check with role check. The full name of the user is
different between local and MKI environments.
  • Loading branch information
jeramysoucy authored Oct 11, 2024
1 parent a2d6e10 commit 3079ef2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default function ({ getService }: FtrProviderContext) {
type: 'saml',
},
enabled: true,
full_name: 'test viewer',
roles: [expect.stringContaining('viewer')],
})
);
expect(status).toBe(200);
Expand Down

0 comments on commit 3079ef2

Please sign in to comment.