From 2208947f19207678ff9a6cb9f0121358278cd159 Mon Sep 17 00:00:00 2001 From: Sylvain Briat Date: Thu, 4 May 2023 13:33:28 +0000 Subject: [PATCH] change user to ad --- src/modules/ad/tests/unit/find-ad-by-uuid.usecase.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/ad/tests/unit/find-ad-by-uuid.usecase.spec.ts b/src/modules/ad/tests/unit/find-ad-by-uuid.usecase.spec.ts index df3375b..7e124df 100644 --- a/src/modules/ad/tests/unit/find-ad-by-uuid.usecase.spec.ts +++ b/src/modules/ad/tests/unit/find-ad-by-uuid.usecase.spec.ts @@ -54,10 +54,10 @@ describe('FindAdByUuidUseCase', () => { const findAdByUuidRequest: FindAdByUuidRequest = new FindAdByUuidRequest(); findAdByUuidRequest.uuid = 'bb281075-1b98-4456-89d6-c643d3044a91'; - const user = await findAdByUuidUseCase.execute( + const ad = await findAdByUuidUseCase.execute( new FindAdByUuidQuery(findAdByUuidRequest), ); - expect(user).toBe(mockAd); + expect(ad).toBe(mockAd); }); it('should throw an error if ad does not exist', async () => { const findAdByUuidRequest: FindAdByUuidRequest =