diff --git a/server/tests/federation/main_test.go b/server/tests/federation/main_test.go index 8599a2a7a..f4b5ce6b3 100644 --- a/server/tests/federation/main_test.go +++ b/server/tests/federation/main_test.go @@ -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 }) diff --git a/server/tests/workflows/main_test.go b/server/tests/workflows/main_test.go index 3a2273fc8..f16be4d7c 100644 --- a/server/tests/workflows/main_test.go +++ b/server/tests/workflows/main_test.go @@ -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 })