From c3e03e179cc99dcabf66328758f4f664247debb7 Mon Sep 17 00:00:00 2001 From: Sylvain Briat Date: Tue, 31 Oct 2023 16:39:07 +0100 Subject: [PATCH] fix repository signature in unit test --- src/modules/ad/tests/unit/core/algorithm.abstract.spec.ts | 1 + .../ad/tests/unit/core/passenger-oriented-algorithm.spec.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/modules/ad/tests/unit/core/algorithm.abstract.spec.ts b/src/modules/ad/tests/unit/core/algorithm.abstract.spec.ts index 277a2af..e0819ae 100644 --- a/src/modules/ad/tests/unit/core/algorithm.abstract.spec.ts +++ b/src/modules/ad/tests/unit/core/algorithm.abstract.spec.ts @@ -53,6 +53,7 @@ const mockAdRepository: AdRepositoryPort = { insertExtra: jest.fn(), findOneById: jest.fn(), findOne: jest.fn(), + findAll: jest.fn(), insert: jest.fn(), update: jest.fn(), updateWhere: jest.fn(), diff --git a/src/modules/ad/tests/unit/core/passenger-oriented-algorithm.spec.ts b/src/modules/ad/tests/unit/core/passenger-oriented-algorithm.spec.ts index 4e9748e..c275e22 100644 --- a/src/modules/ad/tests/unit/core/passenger-oriented-algorithm.spec.ts +++ b/src/modules/ad/tests/unit/core/passenger-oriented-algorithm.spec.ts @@ -54,6 +54,7 @@ const mockMatcherRepository: AdRepositoryPort = { insertExtra: jest.fn(), findOneById: jest.fn(), findOne: jest.fn(), + findAll: jest.fn(), insert: jest.fn(), update: jest.fn(), updateWhere: jest.fn(),