From 040cbde1ee5788cfe7c3d823456a6e29e2946bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cjeramysoucy=E2=80=9D?= Date: Fri, 11 Oct 2024 08:06:23 +0200 Subject: [PATCH] Replaces mame check with role check --- .../test_suites/common/platform_security/authentication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test_serverless/api_integration/test_suites/common/platform_security/authentication.ts b/x-pack/test_serverless/api_integration/test_suites/common/platform_security/authentication.ts index 041c005855d0f..644f0c5b852a7 100644 --- a/x-pack/test_serverless/api_integration/test_suites/common/platform_security/authentication.ts +++ b/x-pack/test_serverless/api_integration/test_suites/common/platform_security/authentication.ts @@ -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);