fix(notifications): test assertion

This commit is contained in:
kolaente 2025-03-02 12:05:17 +01:00
parent e11a3026b9
commit c00768499f
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 5 additions and 2 deletions

View File

@ -227,7 +227,7 @@ And one more, because why not?
<div style="color: #9CA3AF;font-size:12px;border-top: 1px solid #dbdbdb;margin-top:20px;padding-top:20px;">
<p>
If the button above doesn't work, copy the url below and paste it in your browser's address bar:<br/>
If the button above doesn&#39;t work, copy the url below and paste it in your browser&#39;s address bar:<br/>
https://example.com
</p>
@ -391,7 +391,7 @@ This is a footer line
<div style="color: #9CA3AF;font-size:12px;border-top: 1px solid #dbdbdb;margin-top:20px;padding-top:20px;">
<p>
If the button above doesn't work, copy the url below and paste it in your browser's address bar:<br/>
If the button above doesn&#39;t work, copy the url below and paste it in your browser&#39;s address bar:<br/>
https://example.com
</p>

View File

@ -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