From 5e2c711487f0ad94abbe6060ee06a096e67da954 Mon Sep 17 00:00:00 2001
From: joerger <bjoerger@goteleport.com>
Date: Thu, 10 Oct 2024 13:24:32 -0700
Subject: [PATCH] Fix lint, fix test.

---
 api/types/authentication_test.go | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/api/types/authentication_test.go b/api/types/authentication_test.go
index c33510d5de33e..7d6a76e9ae1ae 100644
--- a/api/types/authentication_test.go
+++ b/api/types/authentication_test.go
@@ -19,11 +19,10 @@ package types
 import (
 	"testing"
 
+	"github.com/gravitational/trace"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/gravitational/trace"
-
 	"github.com/gravitational/teleport/api/constants"
 )
 
@@ -138,6 +137,9 @@ func TestNewAuthPreference_secondFactors(t *testing.T) {
 					SecondFactorType_SECOND_FACTOR_TYPE_WEBAUTHN,
 					SecondFactorType_SECOND_FACTOR_TYPE_SSO,
 				},
+				Webauthn: &Webauthn{
+					RPID: "localhost",
+				},
 			},
 			assertAuthPref: func(t *testing.T, authPref AuthPreference) {
 				assert.True(t, authPref.GetAllowPasswordless())