Skip to content

Commit da20f2a

Browse files
committed
fix: test for AAL2
1 parent 2ed998d commit da20f2a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/tokens/service_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,7 @@ func TestGenerateAccessTokenAllowLowAAL(t *testing.T) {
12561256
aal2 := models.AAL2.String()
12571257
session.AAL = &aal2
12581258
require.NoError(t, conn.Create(session))
1259+
require.NoError(t, models.AddClaimToSession(conn, session.ID, models.TOTPSignIn))
12591260

12601261
cfg := *config
12611262
cfg.Sessions.AllowLowAAL = &allowLowAAL

0 commit comments

Comments
 (0)