From 32d629cb26c3448696e4feb8fa4baedcacf253d9 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 15 Jul 2026 05:06:17 +0000 Subject: [PATCH] test(geode): update RelayAuthenticator callers for the interactive flag RelayAuthenticator.signWithAllLoggedInUsers gained an `interactive` Boolean parameter, but these two geode auth tests still passed a two-arg lambda and no longer compiled. Accept and ignore the flag. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_0129yvP2hmVeDFfuKKy94tqX --- geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt | 2 +- .../kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt b/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt index 322b964699..1b8f84833a 100644 --- a/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt +++ b/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt @@ -246,7 +246,7 @@ class KtorRelayTest { com.vitorpamplona.quartz.nip01Core.relay.client.auth.RelayAuthenticator( client = client, scope = scope, - ) { _, template -> + ) { _, template, _ -> listOf(signer.sign(template)) } try { diff --git a/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt b/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt index b1c1c21e27..862c7a4626 100644 --- a/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt +++ b/geode/src/test/kotlin/com/vitorpamplona/geode/Nip42AuthDmDeliveryTest.kt @@ -108,7 +108,7 @@ class Nip42AuthDmDeliveryTest { // as the DM sender, though FullAuthPolicy would accept any authenticated pubkey). val authSigner = NostrSignerSync(senderKeys) val authenticator = - RelayAuthenticator(client = client, scope = scope) { _, template -> + RelayAuthenticator(client = client, scope = scope) { _, template, _ -> listOf(authSigner.sign(template)) } try {