Skip to content

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger committed Oct 15, 2024
1 parent 204c76e commit 2e45321
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/types/authentication_mfadevice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ func TestMFADevice_CheckAndSetDefaults(t *testing.T) {
Id: "otp-0001",
AddedAt: now,
LastUsed: now,
Device: &types.MFADevice_Totp{}, // validated elsewhere
Device: &types.MFADevice_Totp{
Totp: &types.TOTPDevice{
Key: "key",
},
},
},
},
{
Expand Down

0 comments on commit 2e45321

Please sign in to comment.