Skip to content

Commit eb6aff9

Browse files
Merge pull request #379 from supertokens/react-tests-fix
chore: Add email delivery config to third party email password config to fix tests
2 parents 8745e98 + 08b8585 commit eb6aff9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/auth-react-server/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,11 @@ func callSTInit(passwordlessConfig *plessmodels.TypeInput) {
333333
},
334334
}),
335335
thirdpartyemailpassword.Init(&tpepmodels.TypeInput{
336+
EmailDelivery: &emaildelivery.TypeInput{
337+
Service: &emaildelivery.EmailDeliveryInterface{
338+
SendEmail: &sendPasswordResetEmail,
339+
},
340+
},
336341
Override: &tpepmodels.OverrideStruct{
337342
APIs: func(originalImplementation tpepmodels.APIInterface) tpepmodels.APIInterface {
338343
ogPasswordResetPOST := *originalImplementation.PasswordResetPOST

0 commit comments

Comments
 (0)