From: David ‘Bombe’ Roden Date: Wed, 17 Dec 2025 17:11:58 +0000 (+0100) Subject: 🔇 Suppress deprecation warning on tests for deprecated methods X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=eea7190f60b7a27405d29d3fda81b948a089abca;p=jFCPlib.git 🔇 Suppress deprecation warning on tests for deprecated methods --- diff --git a/src/test/java/net/pterodactylus/fcp/plugin/WebOfTrustPluginTest.java b/src/test/java/net/pterodactylus/fcp/plugin/WebOfTrustPluginTest.java index 27b1da2..82918eb 100644 --- a/src/test/java/net/pterodactylus/fcp/plugin/WebOfTrustPluginTest.java +++ b/src/test/java/net/pterodactylus/fcp/plugin/WebOfTrustPluginTest.java @@ -183,6 +183,7 @@ public class WebOfTrustPluginTest { } @Test + @SuppressWarnings("deprecation") public void gettingOwnIdentitiesUsingDeprecatedMethodSendsCorrectMessage() throws Exception { TestFcpConnection fcpConnection = createConnectionThatDeliversOwnIdentities(); WebOfTrustPlugin webOfTrustPlugin = createWebOfTrustPlugin(fcpConnection); @@ -196,6 +197,7 @@ public class WebOfTrustPluginTest { } @Test + @SuppressWarnings("deprecation") public void gettingOwnIdentitiesUsingDeprecatedMethodParsesOwnIdentitiesCorrectly() throws Exception { TestFcpConnection fcpConnection = createConnectionThatDeliversOwnIdentities(); WebOfTrustPlugin webOfTrustPlugin = createWebOfTrustPlugin(fcpConnection);