chore: #174 make into template
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 47s

This commit is contained in:
2024-12-31 12:21:47 +01:00
parent 508aa3038b
commit 52f6d3d706
30 changed files with 89 additions and 89 deletions

View File

@@ -1,9 +1,9 @@
package service
import (
"me-fit/db"
"me-fit/mocks"
"me-fit/types"
"web-app-template/db"
"web-app-template/mocks"
"web-app-template/types"
"strings"
"testing"
@@ -127,7 +127,7 @@ func TestSendVerificationMail(t *testing.T) {
mockAuthDb.EXPECT().GetTokensByUserIdAndType(userId, types.TokenTypeEmailVerify).Return(tokens, nil)
mockMail.EXPECT().SendMail(email, "Welcome to ME-FIT", mock.MatchedBy(func(message string) bool {
mockMail.EXPECT().SendMail(email, "Welcome to web-app-template", mock.MatchedBy(func(message string) bool {
return strings.Contains(message, token.Token)
})).Return()