We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3332475 commit 91f5153Copy full SHA for 91f5153
tests/integration/signin_test.go
@@ -105,8 +105,9 @@ func TestEnablePasswordSignInFormAndEnablePasskeyAuth(t *testing.T) {
105
defer tests.PrepareTestEnv(t)()
106
107
mockLinkAccount := func(ctx *context.Context) {
108
+ authSource := auth_model.Source{ID: 1}
109
gothUser := goth.User{Email: "invalid-email", Name: "."}
- _ = ctx.Session.Set("linkAccountData", auth.LinkAccountData{auth_model.Source{ID: 1}, gothUser})
110
+ _ = ctx.Session.Set("linkAccountData", auth.LinkAccountData{AuthSource: authSource, GothUser: gothUser})
111
}
112
113
t.Run("EnablePasswordSignInForm=false", func(t *testing.T) {
0 commit comments