Skip to content

Commit 91f5153

Browse files
committed
fix lint
1 parent 3332475 commit 91f5153

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/signin_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ func TestEnablePasswordSignInFormAndEnablePasskeyAuth(t *testing.T) {
105105
defer tests.PrepareTestEnv(t)()
106106

107107
mockLinkAccount := func(ctx *context.Context) {
108+
authSource := auth_model.Source{ID: 1}
108109
gothUser := goth.User{Email: "invalid-email", Name: "."}
109-
_ = ctx.Session.Set("linkAccountData", auth.LinkAccountData{auth_model.Source{ID: 1}, gothUser})
110+
_ = ctx.Session.Set("linkAccountData", auth.LinkAccountData{AuthSource: authSource, GothUser: gothUser})
110111
}
111112

112113
t.Run("EnablePasswordSignInForm=false", func(t *testing.T) {

0 commit comments

Comments
 (0)