chore: #174 make into template
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 47s
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 47s
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user