summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/apptestlib.go1
-rw-r--r--app/notification_test.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/apptestlib.go b/app/apptestlib.go
index dee6f0fd9..41e234130 100644
--- a/app/apptestlib.go
+++ b/app/apptestlib.go
@@ -53,6 +53,7 @@ func Setup() *TestHelper {
NewServer()
InitStores()
StartServer()
+ utils.InitHTML()
utils.EnableDebugLogForTest()
Srv.Store.MarkSystemRanUnitTests()
diff --git a/app/notification_test.go b/app/notification_test.go
index d3aea214c..8554d0af6 100644
--- a/app/notification_test.go
+++ b/app/notification_test.go
@@ -178,6 +178,7 @@ func TestGetExplicitMentionsAtHere(t *testing.T) {
}
func TestGetMentionKeywords(t *testing.T) {
+ Setup()
// user with username or custom mentions enabled
user1 := &model.User{
Id: model.NewId(),