From 5a222b15a57915b5a35b9f5a50be78b56ca9e87f Mon Sep 17 00:00:00 2001 From: till_schuetze Date: Thu, 24 Oct 2024 16:32:28 +0200 Subject: [PATCH] Feature: fiy test file --- .../src/features/asset-edit/asset-edit.repo.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/server-asset-sg/src/features/asset-edit/asset-edit.repo.spec.ts b/apps/server-asset-sg/src/features/asset-edit/asset-edit.repo.spec.ts index 913a66ea..c567a73e 100644 --- a/apps/server-asset-sg/src/features/asset-edit/asset-edit.repo.spec.ts +++ b/apps/server-asset-sg/src/features/asset-edit/asset-edit.repo.spec.ts @@ -7,10 +7,12 @@ import { fakeAssetPatch, fakeUser } from './asset-edit.fake'; import { AssetEditRepo } from './asset-edit.repo'; import { PrismaService } from '@/core/prisma.service'; +import { FileRepo } from '@/features/files/file.repo'; describe(AssetEditRepo, () => { const prisma = new PrismaService(); - const repo = new AssetEditRepo(prisma); + const fileRepo = new FileRepo(prisma); + const repo = new AssetEditRepo(prisma, fileRepo); beforeAll(async () => { await setupDB(prisma);