diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/oauth/OIDCProtocolMappersTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/oauth/OIDCProtocolMappersTest.java index ec2d9f5b79..307ef96fec 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/oauth/OIDCProtocolMappersTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/oauth/OIDCProtocolMappersTest.java @@ -154,7 +154,7 @@ public class OIDCProtocolMappersTest extends AbstractKeycloakTest { Object firstDepartment = idToken.getOtherClaims().get("firstDepartment"); assertThat(firstDepartment, instanceOf(String.class)); - assertThat(firstDepartment, is("finance")); // Has to be the first item + assertThat(firstDepartment, anyOf(is("finance"), is("development"))); // Has to be the first item AccessToken accessToken = oauth.verifyToken(response.getAccessToken()); assertEquals(accessToken.getName(), "Tom Brady");