mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
fix: update quartz auth tests to match new two-arg signWithAllLoggedInUsers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013hTFpoExYYLYEGGtXBx6ZT
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ class RelayAuthenticatorConcurrencyTest {
|
||||
val authenticator =
|
||||
RelayAuthenticator(
|
||||
client = client,
|
||||
signWithAllLoggedInUsers = { emptyList() },
|
||||
signWithAllLoggedInUsers = { _, _ -> emptyList() },
|
||||
)
|
||||
val listener =
|
||||
client.captured
|
||||
|
||||
+2
-2
@@ -102,7 +102,7 @@ class RelayAuthenticatorTimeoutTest {
|
||||
RelayAuthenticator(
|
||||
client = client,
|
||||
scope = scope,
|
||||
signWithAllLoggedInUsers = {
|
||||
signWithAllLoggedInUsers = { _, _ ->
|
||||
throw SignerExceptions.TimedOutException("User didn't accept or reject in time.")
|
||||
},
|
||||
)
|
||||
@@ -130,7 +130,7 @@ class RelayAuthenticatorTimeoutTest {
|
||||
RelayAuthenticator(
|
||||
client = client,
|
||||
scope = scope,
|
||||
signWithAllLoggedInUsers = { template ->
|
||||
signWithAllLoggedInUsers = { _, _ ->
|
||||
listOf(RelayAuthEvent.create(relay.url, "challenge-123", signer))
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user