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