summaryrefslogtreecommitdiff
path: root/internal/middlewares/authelia_context_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/middlewares/authelia_context_test.go')
-rw-r--r--internal/middlewares/authelia_context_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/middlewares/authelia_context_test.go b/internal/middlewares/authelia_context_test.go
index f53627abd..448113191 100644
--- a/internal/middlewares/authelia_context_test.go
+++ b/internal/middlewares/authelia_context_test.go
@@ -245,7 +245,7 @@ func TestShouldReturnCorrectSecondFactorMethods(t *testing.T) {
assert.Equal(t, []string{model.SecondFactorMethodWebAuthn, model.SecondFactorMethodDuo}, mock.Ctx.AvailableSecondFactorMethods())
- mock.Ctx.Configuration.Webauthn.Disable = true
+ mock.Ctx.Configuration.WebAuthn.Disable = true
assert.Equal(t, []string{model.SecondFactorMethodDuo}, mock.Ctx.AvailableSecondFactorMethods())