Fix missing font file error on integration test
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
|
||||
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user