From 716c023d7b9db14687c5fbbb7ed7a7c008227ef4 Mon Sep 17 00:00:00 2001 From: Eugenio Sales Date: Sun, 16 Oct 2022 19:49:04 -0300 Subject: [PATCH] feature #6 - update mock --- test/unit/2-business/product/getProductsUseCase.test.ts | 4 ++-- test/unit/3-adpters/product/getProductsController.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/2-business/product/getProductsUseCase.test.ts b/test/unit/2-business/product/getProductsUseCase.test.ts index 5e4ff9b..29f6d07 100644 --- a/test/unit/2-business/product/getProductsUseCase.test.ts +++ b/test/unit/2-business/product/getProductsUseCase.test.ts @@ -31,7 +31,7 @@ describe('UpdateExchangeRateUseCase', () => { promotionalPrice: 529.99, rating: 540, colors: ['red', 'pink', 'gray'], - imageUrl: 'https://url.com', + imageUrl: 'http://url.com', currency: CurrencyEnum.BRL } ] @@ -45,7 +45,7 @@ describe('UpdateExchangeRateUseCase', () => { promotionalPrice: 529.99 * 0.187786, rating: 540, colors: ['red', 'pink', 'gray'], - imageUrl: 'https://url.com', + imageUrl: 'http://url.com', currency: CurrencyEnum.BRL } ] diff --git a/test/unit/3-adpters/product/getProductsController.test.ts b/test/unit/3-adpters/product/getProductsController.test.ts index 56c75f3..845f54b 100644 --- a/test/unit/3-adpters/product/getProductsController.test.ts +++ b/test/unit/3-adpters/product/getProductsController.test.ts @@ -32,7 +32,7 @@ describe('GetProductsController', () => { promotionalPrice: 529.99, rating: 540, colors: ['red', 'pink', 'gray'], - imageUrl: 'https://url.com', + imageUrl: 'http://url.com', currency: CurrencyEnum.BRL } ]