Skip to content

Commit

Permalink
[PLAT] Fix utests
Browse files Browse the repository at this point in the history
  • Loading branch information
shahrooz1997 committed Mar 4, 2025
1 parent 6380954 commit fc5e004
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import java.security.KeyPair;
import java.security.Security;
import java.time.Instant;
import java.util.Date;
import java.util.UUID;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand All @@ -39,6 +41,7 @@ public class JWTVerifierTest {

@Before
public void setup() throws Exception {
Security.addProvider(new BouncyCastleProvider());
verfier = new JWTVerifier(keyProvider);
keyPair = CertificateHelper.getKeyPairObject();
}
Expand Down

0 comments on commit fc5e004

Please sign in to comment.