KEYCLOAK-4191 Fix for OIDCProtocolMappersTest on mariadb
This commit is contained in:
parent
b42af99866
commit
4d362fe9ca
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue