3
0

Fix missing font file error on integration test

This commit is contained in:
Mumbi Francis
2023-03-15 16:14:45 +03:00
parent d84a0a7217
commit 54dd8d0ef3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -55,6 +55,7 @@ func InitTestApp() {
service.DefaultStore = app.Store
eventbus.Set(eventBus)
app.Opt.Attachment.AvatarInitialsFontPath = "../../auth/assets/public/fonts/poppins/Poppins-Regular.ttf"
return nil
})
+1
View File
@@ -71,6 +71,7 @@ func TestMain(m *testing.M) {
app.Opt.ActionLog.WorkflowFunctionsEnabled = true
defStore = app.Store
eventbus.Set(eventBus)
app.Opt.Attachment.AvatarInitialsFontPath = "../../auth/assets/public/fonts/poppins/Poppins-Regular.ttf"
return nil
})