From 87a2b31eed57ac17bb56d8442024e3d1b948d76b Mon Sep 17 00:00:00 2001 From: ThomasDos Date: Mon, 15 Jul 2024 11:54:01 +0200 Subject: [PATCH] fix(api): prisma queery in finance unifvae test --- .../finance/unifvae/features/finance.unifvae.test.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/reva-api/modules/finance/unifvae/features/finance.unifvae.test.ts b/packages/reva-api/modules/finance/unifvae/features/finance.unifvae.test.ts index 8a8213285..c5e2379db 100644 --- a/packages/reva-api/modules/finance/unifvae/features/finance.unifvae.test.ts +++ b/packages/reva-api/modules/finance/unifvae/features/finance.unifvae.test.ts @@ -134,11 +134,15 @@ beforeAll(async () => { create: { decision: "ADMISSIBLE", certificationAuthority: { create: { label: "dummy" } }, - feasibilityFile: { + feasibilityUploadedPdf: { create: { - name: "dummyFile.ext", - mimeType: "kikoo/lol", - path: "dummyFile.ext", + feasibilityFile: { + create: { + name: "dummyFile.ext", + mimeType: "kikoo/lol", + path: "dummyFile.ext", + }, + }, }, }, },