summaryrefslogtreecommitdiff
path: root/internal/handlers/handler_user_info_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handlers/handler_user_info_test.go')
-rw-r--r--internal/handlers/handler_user_info_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/handlers/handler_user_info_test.go b/internal/handlers/handler_user_info_test.go
index 64f86d6af..773b102d2 100644
--- a/internal/handlers/handler_user_info_test.go
+++ b/internal/handlers/handler_user_info_test.go
@@ -189,7 +189,7 @@ func TestUserInfoEndpoint_SetDefaultMethod(t *testing.T) {
Method: "totp",
HasTOTP: false,
HasWebAuthn: false,
- HasDuo: true,
+ HasDuo: false,
},
config: &schema.Configuration{DuoAPI: schema.DuoAPI{Disable: true}},
loadErr: nil,
@@ -205,7 +205,7 @@ func TestUserInfoEndpoint_SetDefaultMethod(t *testing.T) {
},
api: &model.UserInfo{
Method: "webauthn",
- HasTOTP: true,
+ HasTOTP: false,
HasWebAuthn: true,
HasDuo: true,
},