Fixing tests for Oracle (#4481)
This commit is contained in:
parent
bb0bccc3c0
commit
c4cc752e18
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ import static org.hamcrest.Matchers.containsInAnyOrder;
|
|||
import static org.hamcrest.Matchers.hasItems;
|
||||
import static org.hamcrest.Matchers.instanceOf;
|
||||
import static org.hamcrest.Matchers.is;
|
||||
import static org.hamcrest.Matchers.isEmptyString;
|
||||
import static org.hamcrest.Matchers.isEmptyOrNullString;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertNull;
|
||||
|
@ -266,7 +266,7 @@ public class OIDCProtocolMappersTest extends AbstractKeycloakTest {
|
|||
|
||||
IDToken idToken = oauth.verifyIDToken(response.getIdToken());
|
||||
Object empty = idToken.getOtherClaims().get("empty");
|
||||
assertThat((empty == null ? null : (String) empty), isEmptyString());
|
||||
assertThat((empty == null ? null : (String) empty), isEmptyOrNullString());
|
||||
Object nulll = idToken.getOtherClaims().get("null");
|
||||
assertNull(nulll);
|
||||
|
||||
|
|
Loading…
Reference in a new issue