mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0129yvP2hmVeDFfuKKy94tqX
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user