Add optional show_mobile_otp_screen

This commit is contained in:
Lakhan Samani
2023-07-23 11:23:24 +05:30
parent c80b0d7028
commit 43fdc826c4
7 changed files with 116 additions and 46 deletions

View File

@@ -74,7 +74,7 @@ func mobileSingupTest(t *testing.T, s TestSetup) {
})
assert.NoError(t, err)
assert.NotNil(t, res)
assert.True(t, *res.ShouldShowOtpScreen)
assert.True(t, *res.ShouldShowMobileOtpScreen)
// Verify with otp
otp, err := db.Provider.GetOTPByPhoneNumber(ctx, phoneNumber)
assert.Nil(t, err)