Skip to content

Commit 49c1315

Browse files
committed
Test annnotations
1 parent 87438ed commit 49c1315

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎Sources/WebAuthn/Ceremonies/Registration/PublicKeyCredentialCreationOptions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public struct PublicKeyCredentialRelyingPartyEntity: Encodable {
119119
/// creating a new credential.
120120
///
121121
/// When encoding using `Encodable`, `id` is base64url encoded.
122-
public struct PublicKeyCredentialUserEntity: Encodable {
122+
public struct PublicKeyCredentialUserEntity: Encodable, Sendable {
123123
/// Generated by the Relying Party, unique to the user account, and must not contain personally identifying
124124
/// information about the user.
125125
///

‎Tests/WebAuthnTests/Utils/TestModels/TestConstants.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ import WebAuthn
1616

1717
struct TestConstants {
1818
/// Byte representation of string "randomStringFromServer"
19-
static var mockChallenge: [UInt8] = "72616e646f6d537472696e6746726f6d536572766572".hexadecimal!
20-
static var mockCredentialID: [UInt8] = [0, 1, 2, 3, 4]
19+
static let mockChallenge: [UInt8] = "72616e646f6d537472696e6746726f6d536572766572".hexadecimal!
20+
static let mockCredentialID: [UInt8] = [0, 1, 2, 3, 4]
2121
}

0 commit comments

Comments
 (0)
close