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 =