diff --git a/packages/backend/test/unit/activitypub.ts b/packages/backend/test/unit/activitypub.ts index 78618dddf2..47f23bc644 100644 --- a/packages/backend/test/unit/activitypub.ts +++ b/packages/backend/test/unit/activitypub.ts @@ -119,7 +119,7 @@ describe('ActivityPub', () => { }; }, }) - .overrideProvider(DI.meta).useValue(meta) + .overrideProvider(DI.meta).useFactory({ factory: () => meta }) .compile(); await app.init();