Compilation failure in OID4VCTimeNormalizationSdJwtTest

closes #44419

Signed-off-by: mposolda <mposolda@gmail.com>
This commit is contained in:
mposolda
2025-11-24 11:18:58 +01:00
committed by Pedro Igor
parent 8406cf34fb
commit 49b694bf0a

View File

@@ -92,7 +92,7 @@ public class OID4VCTimeNormalizationSdJwtTest extends OID4VCSdJwtIssuingEndpoint
// Parse SD-JWT and check iat rounding (multiple of 86400)
SdJwtVP sdJwtVP = SdJwtVP.of(credentialResponse.getCredentials().get(0).getCredential().toString());
JsonWebToken jwt = TokenVerifier.create(sdJwtVP.getIssuerSignedJWT().toJws(), JsonWebToken.class).getToken();
JsonWebToken jwt = TokenVerifier.create(sdJwtVP.getIssuerSignedJWT().getJws(), JsonWebToken.class).getToken();
Long iat = jwt.getIat();
assertNotNull(iat);
assertEquals(0, iat % 86400);