fix(test): pass the storage quota service into activity tests

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-02 15:47:32 +03:30
co-authored by Cursor
parent 28938e8f77
commit 43437b0280
+2
View File
@@ -163,6 +163,7 @@ describe('promote from prior', () => {
{ system: async () => ({}), toSummary: (row: unknown) => row } as never,
{} as never,
{} as never,
{} as never,
);
const dto = await service.promoteFromPrior(actor, 'act1');
@@ -193,6 +194,7 @@ describe('promote from prior', () => {
{ system: async () => ({}), toSummary: (row: unknown) => row } as never,
{} as never,
{} as never,
{} as never,
);
await assert.rejects(service.promoteFromPrior({ ...actor, priorLens: 'off' }, 'act1'), ForbiddenException);