feat(mail): redesign the email templates in the Lincodex style
This commit is contained in:
1 parent
3c4acff803
commit
a0869d81a1
26 files changed
+363
-103
No files matched your search
@@ -118,9 +118,9 @@ func assertGolden(t *testing.T, path, got string) {
|
||||
|
||||
func TestRenderingCarriesKindAndVersion(t *testing.T) {
|
||||
want := map[Kind]TemplateVersion{
|
||||
KindVerification: "verification.v2",
|
||||
KindPasswordReset: "password_reset.v1",
|
||||
KindNotification: "notification.v1",
|
||||
KindVerification: "verification.v3",
|
||||
KindPasswordReset: "password_reset.v2",
|
||||
KindNotification: "notification.v2",
|
||||
}
|
||||
for kind, mail := range renderAll(t, newTestRenderer(t)) {
|
||||
if mail.Kind() != kind || mail.TemplateVersion() != want[kind] {
|
||||
|
||||
Reference in new issue
Block a user