diff --git a/src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java b/src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java index 2c9fa1d6..8e5f2199 100644 --- a/src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java +++ b/src/test/java/net/ripe/rpki/commons/crypto/cms/manifest/ManifestCmsBuilderTest.java @@ -98,6 +98,7 @@ public void shouldEncodeManifest() { } @Test + @SuppressWarnings("deprecation") public void shouldBeEquivalentToSetDateInDifferentWays() { var builder1 = new ManifestCmsBuilder(); builder1.withManifestNumber(BigInteger.valueOf(68)); diff --git a/src/test/java/net/ripe/rpki/commons/crypto/crl/X509CrlBuilderTest.java b/src/test/java/net/ripe/rpki/commons/crypto/crl/X509CrlBuilderTest.java index 925279a4..aab58fb7 100644 --- a/src/test/java/net/ripe/rpki/commons/crypto/crl/X509CrlBuilderTest.java +++ b/src/test/java/net/ripe/rpki/commons/crypto/crl/X509CrlBuilderTest.java @@ -159,6 +159,7 @@ public void shouldRejectVeryBigCrlNumber() { } @Test + @SuppressWarnings("deprecation") public void shouldBeEquivalentToSetDateInDifferentWays() { var builder1 = new X509CrlBuilder(); builder1.withIssuerDN(new X500Principal("CN=ROOT"));