diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2023-04-15 02:04:42 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-15 02:04:42 +1000 |
| commit | 2733fc040cc43269889f5e11fd64c1fdb2e09ebd (patch) | |
| tree | 2459462966d202d1177fb166a83a476c2e9c5a51 /internal/oidc/amr_test.go | |
| parent | 37a49b21af4550525890a84b5a7ccf6f1ed51243 (diff) | |
refactor: webauthn naming (#5243)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/oidc/amr_test.go')
| -rw-r--r-- | internal/oidc/amr_test.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/internal/oidc/amr_test.go b/internal/oidc/amr_test.go index c71ca6a26..d1f382242 100644 --- a/internal/oidc/amr_test.go +++ b/internal/oidc/amr_test.go @@ -49,9 +49,9 @@ func TestAuthenticationMethodsReferences(t *testing.T) { }, }, { - desc: "Webauthn", + desc: "WebAuthn", - is: AuthenticationMethodsReferences{Webauthn: true}, + is: AuthenticationMethodsReferences{WebAuthn: true}, want: testAMRWant{ FactorKnowledge: false, FactorPossession: true, @@ -63,9 +63,9 @@ func TestAuthenticationMethodsReferences(t *testing.T) { }, }, { - desc: "Webauthn User Presence", + desc: "WebAuthn User Presence", - is: AuthenticationMethodsReferences{WebauthnUserPresence: true}, + is: AuthenticationMethodsReferences{WebAuthnUserPresence: true}, want: testAMRWant{ FactorKnowledge: false, FactorPossession: false, @@ -77,9 +77,9 @@ func TestAuthenticationMethodsReferences(t *testing.T) { }, }, { - desc: "Webauthn User Verified", + desc: "WebAuthn User Verified", - is: AuthenticationMethodsReferences{WebauthnUserVerified: true}, + is: AuthenticationMethodsReferences{WebAuthnUserVerified: true}, want: testAMRWant{ FactorKnowledge: false, FactorPossession: false, @@ -91,9 +91,9 @@ func TestAuthenticationMethodsReferences(t *testing.T) { }, }, { - desc: "Webauthn with User Presence and Verified", + desc: "WebAuthn with User Presence and Verified", - is: AuthenticationMethodsReferences{Webauthn: true, WebauthnUserVerified: true, WebauthnUserPresence: true}, + is: AuthenticationMethodsReferences{WebAuthn: true, WebAuthnUserVerified: true, WebAuthnUserPresence: true}, want: testAMRWant{ FactorKnowledge: false, FactorPossession: true, @@ -119,9 +119,9 @@ func TestAuthenticationMethodsReferences(t *testing.T) { }, }, { - desc: "Duo Webauthn TOTP", + desc: "Duo WebAuthn TOTP", - is: AuthenticationMethodsReferences{Duo: true, Webauthn: true, TOTP: true}, + is: AuthenticationMethodsReferences{Duo: true, WebAuthn: true, TOTP: true}, want: testAMRWant{ FactorKnowledge: false, FactorPossession: true, |
