You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: webauthn-server-core/src/test/scala/com/yubico/webauthn/RelyingPartyRegistrationSpec.scala
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1201,7 +1201,7 @@ class RelyingPartyRegistrationSpec
1201
1201
}
1202
1202
1203
1203
it("Succeeds regardless of output credProtect policy if credProtect is set with enforceCredentialProtectionPolicy=false or credProtectPolicy=userVerificationOptional.") {
1204
-
valgenCredPropsInput=for {
1204
+
valgenCredProtectInput=for {
1205
1205
enforce <- arbitrary[Boolean]
1206
1206
policy <-
1207
1207
if (enforce) Gen.const(CredentialProtectionPolicy.UV_OPTIONAL)
@@ -1211,11 +1211,11 @@ class RelyingPartyRegistrationSpec
1211
1211
elseCredentialProtectionInput.prefer(policy)
1212
1212
}
1213
1213
forAll(
1214
-
genCredPropsInput,
1214
+
genCredProtectInput,
1215
1215
arbitrary[Option[CredentialProtectionPolicy]],
1216
1216
) {
1217
1217
(
1218
-
credPropsInput: CredentialProtectionInput,
1218
+
credProtectInput: CredentialProtectionInput,
1219
1219
outputPolicy: Option[CredentialProtectionPolicy],
1220
1220
) =>
1221
1221
valauthenticatorExtensionOutputs=
@@ -1234,7 +1234,7 @@ class RelyingPartyRegistrationSpec
0 commit comments