From 6aae09f070a8fd542c429d12fef19e921066ba82 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 23 Jun 2021 14:21:48 +0200 Subject: [PATCH] front unit tests final amend --- modules/client/front/balance/create/index.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/client/front/balance/create/index.spec.js b/modules/client/front/balance/create/index.spec.js index f40567f35..75ab6fa13 100644 --- a/modules/client/front/balance/create/index.spec.js +++ b/modules/client/front/balance/create/index.spec.js @@ -72,9 +72,9 @@ describe('Client', () => { jest.spyOn(controller.vnApp, 'showSuccess'); jest.spyOn(controller.vnReport, 'show'); - controller.$params = {id: 101}; + controller.$params = {id: 1101}; - $httpBackend.expect('POST', `Clients/101/createReceipt`).respond({id: 1}); + $httpBackend.expect('POST', `Clients/1101/createReceipt`).respond({id: 1}); controller.responseHandler('accept'); $httpBackend.flush();