From 0acb1e649dd6a66b0a60f637680e7e924d2c89df Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 20 Oct 2020 10:29:16 +0200 Subject: [PATCH] Updated unit test --- modules/ticket/front/basic-data/step-one/index.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ticket/front/basic-data/step-one/index.spec.js b/modules/ticket/front/basic-data/step-one/index.spec.js index bd88b88ac..c7d09a7b1 100644 --- a/modules/ticket/front/basic-data/step-one/index.spec.js +++ b/modules/ticket/front/basic-data/step-one/index.spec.js @@ -323,6 +323,7 @@ describe('Ticket', () => { warehouseFk: 1 }; const serializedParams = $httpParamSerializer(params); + controller.ticket.shipped = shipped; $httpBackend.expect('GET', `Agencies/getLanded?${serializedParams}`).respond(200, expectedResult); controller.getLanded(params); @@ -344,6 +345,7 @@ describe('Ticket', () => { warehouseFk: 1 }; const serializedParams = $httpParamSerializer(params); + controller.ticket.landed = landed; $httpBackend.expect('GET', `Agencies/getShipped?${serializedParams}`).respond(200, expectedResult); controller.getShipped(params);