mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-24 22:25:15 +00:00
fix(notifications): test assertion
This commit is contained in:
@@ -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't work, copy the url below and paste it in your browser'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't work, copy the url below and paste it in your browser's address bar:<br/>
|
||||
https://example.com
|
||||
</p>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user