mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 11:17:47 +00:00
fix: rename (t)otp to code in session checks (#6455)
* fix: rename (t)otp to code in session checks * update integration tests --------- Co-authored-by: Fabi <fabienne@zitadel.com>
This commit is contained in:
@@ -504,7 +504,7 @@ func TestServer_SetSession_flow(t *testing.T) {
|
||||
SessionToken: sessionToken,
|
||||
Checks: &session.Checks{
|
||||
Totp: &session.CheckTOTP{
|
||||
Totp: code,
|
||||
Code: code,
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -533,7 +533,7 @@ func TestServer_SetSession_flow(t *testing.T) {
|
||||
SessionToken: sessionToken,
|
||||
Checks: &session.Checks{
|
||||
OtpSms: &session.CheckOTP{
|
||||
Otp: otp,
|
||||
Code: otp,
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -564,7 +564,7 @@ func TestServer_SetSession_flow(t *testing.T) {
|
||||
SessionToken: sessionToken,
|
||||
Checks: &session.Checks{
|
||||
OtpEmail: &session.CheckOTP{
|
||||
Otp: otp,
|
||||
Code: otp,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user