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);