From 9a770cf82c6966be9be4559019eb26626f35ae4d Mon Sep 17 00:00:00 2001 From: Yaros Date: Tue, 24 Mar 2026 13:41:47 +0100 Subject: [PATCH] test: fix ocr service medium test --- server/test/medium/specs/services/ocr.service.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/test/medium/specs/services/ocr.service.spec.ts b/server/test/medium/specs/services/ocr.service.spec.ts index d9d3a9f9b9..5f69aea850 100644 --- a/server/test/medium/specs/services/ocr.service.spec.ts +++ b/server/test/medium/specs/services/ocr.service.spec.ts @@ -55,6 +55,7 @@ describe(OcrService.name, () => { assetId: asset.id, boxScore: 0.99, id: expect.any(String), + updateId: expect.any(String), text: 'Test OCR', textScore: 0.95, isVisible: true, @@ -105,6 +106,7 @@ describe(OcrService.name, () => { assetId: asset.id, boxScore: 0.7, id: expect.any(String), + updateId: expect.any(String), text: 'One', textScore: 0.9, isVisible: true, @@ -121,6 +123,7 @@ describe(OcrService.name, () => { assetId: asset.id, boxScore: 0.67, id: expect.any(String), + updateId: expect.any(String), text: 'Two', textScore: 0.89, isVisible: true, @@ -137,6 +140,7 @@ describe(OcrService.name, () => { assetId: asset.id, boxScore: 0.65, id: expect.any(String), + updateId: expect.any(String), text: 'Three', textScore: 0.88, isVisible: true, @@ -153,6 +157,7 @@ describe(OcrService.name, () => { assetId: asset.id, boxScore: 0.62, id: expect.any(String), + updateId: expect.any(String), text: 'Four', textScore: 0.87, isVisible: true, @@ -169,6 +174,7 @@ describe(OcrService.name, () => { assetId: asset.id, boxScore: 0.6, id: expect.any(String), + updateId: expect.any(String), text: 'Five', textScore: 0.86, isVisible: true,