šŸ› Only return a single identity, and include Nickname field
authorDavid ā€˜Bombe’ Roden <bombe@freenetproject.org>
Wed, 17 Dec 2025 16:59:46 +0000 (17:59 +0100)
committerDavid ā€˜Bombe’ Roden <bombe@freenetproject.org>
Wed, 17 Dec 2025 16:59:46 +0000 (17:59 +0100)
WoT doesn’t actually send this field, but if it would, jFCPlib will parse it!

src/test/java/net/pterodactylus/fcp/plugin/WebOfTrustPluginTest.java

index 695bcb0..27b1da2 100644 (file)
@@ -125,8 +125,7 @@ public class WebOfTrustPluginTest {
 
                private TestFcpConnection createConnectionThatCreatesOwnIdentity() {
                        return createConnection("IdentityCreated",
-                                       entries("ID", "identity", "InsertURI", "insert-uri", "RequestURI", "request-uri"),
-                                       entries("ID", "identity", "InsertURI", "insert-uri", "RequestURI", "request-uri")
+                                       entries("ID", "identity", "Nickname", "Test Nickname", "InsertURI", "insert-uri", "RequestURI", "request-uri")
                        );
                }