diff --git a/Tests/WebAuthnTests/Utils/TestModels/TestKeyConfiguration.swift b/Tests/WebAuthnTests/Utils/TestModels/TestKeyConfiguration.swift index 7420e8b..e8a0a73 100644 --- a/Tests/WebAuthnTests/Utils/TestModels/TestKeyConfiguration.swift +++ b/Tests/WebAuthnTests/Utils/TestModels/TestKeyConfiguration.swift @@ -13,13 +13,13 @@ import Foundation -protocol TestSigner { +protocol TestSigner: Sendable { static func sign(data: Data) throws -> [UInt8] static var signature: [UInt8] { get throws } } -struct TestKeyConfiguration { +struct TestKeyConfiguration: Sendable { var signer: any TestSigner.Type var credentialPublicKeyBuilder: TestCredentialPublicKeyBuilder var authDataBuilder: TestAuthDataBuilder diff --git a/Tests/WebAuthnTests/WebAuthnManagerRegistrationTests.swift b/Tests/WebAuthnTests/WebAuthnManagerRegistrationTests.swift index bf9ecbb..4efd893 100644 --- a/Tests/WebAuthnTests/WebAuthnManagerRegistrationTests.swift +++ b/Tests/WebAuthnTests/WebAuthnManagerRegistrationTests.swift @@ -398,7 +398,6 @@ struct WebAuthnManagerRegistrationTests { rawID: credentialID, attestationObject: attestationObject ) - #expect(credential != nil) #expect(credential.id == credentialID.base64EncodedString().asString()) #expect(credential.publicKey == credentialPublicKey)