From c00768499f918481c2bf0276b6f05543ca5b1197 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 2 Mar 2025 12:05:17 +0100 Subject: [PATCH] fix(notifications): test assertion --- pkg/notifications/mail_test.go | 4 ++-- pkg/notifications/main_test.go | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/notifications/mail_test.go b/pkg/notifications/mail_test.go index e508db69d..cf3733bac 100644 --- a/pkg/notifications/mail_test.go +++ b/pkg/notifications/mail_test.go @@ -227,7 +227,7 @@ And one more, because why not?

- If the button above doesn't work, copy the url below and paste it in your browser's address bar:
+ If the button above doesn't work, copy the url below and paste it in your browser's address bar:
https://example.com

@@ -391,7 +391,7 @@ This is a footer line

- If the button above doesn't work, copy the url below and paste it in your browser's address bar:
+ If the button above doesn't work, copy the url below and paste it in your browser's address bar:
https://example.com

diff --git a/pkg/notifications/main_test.go b/pkg/notifications/main_test.go index 1fce9c5ea..323608a5c 100644 --- a/pkg/notifications/main_test.go +++ b/pkg/notifications/main_test.go @@ -17,6 +17,7 @@ package notifications import ( + "code.vikunja.io/api/pkg/i18n" "os" "testing" @@ -38,6 +39,8 @@ func SetupTests() { if err != nil { log.Fatal(err) } + + i18n.Init() } // TestMain is the main test function used to bootstrap the test env