rename template
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 7m40s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 3m55s

This commit was merged in pull request #1.
This commit is contained in:
2025-03-31 21:50:59 +02:00
parent 1f52a959f2
commit fa7119ed33
30 changed files with 80 additions and 80 deletions

View File

@@ -1,9 +1,9 @@
package service
import (
"web-app-template/db"
"web-app-template/mocks"
"web-app-template/types"
"spend-sparrow/db"
"spend-sparrow/mocks"
"spend-sparrow/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 web-app-template", mock.MatchedBy(func(message string) bool {
mockMail.EXPECT().SendMail(email, "Welcome to spend-sparrow", mock.MatchedBy(func(message string) bool {
return strings.Contains(message, token.Token)
})).Return()