Updated unit test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c61c25fb91
commit
ef42e95cef
|
@ -323,6 +323,7 @@ describe('Ticket', () => {
|
||||||
warehouseFk: 1
|
warehouseFk: 1
|
||||||
};
|
};
|
||||||
const serializedParams = $httpParamSerializer(params);
|
const serializedParams = $httpParamSerializer(params);
|
||||||
|
controller.ticket.shipped = shipped;
|
||||||
|
|
||||||
$httpBackend.expect('GET', `Agencies/getLanded?${serializedParams}`).respond(200, expectedResult);
|
$httpBackend.expect('GET', `Agencies/getLanded?${serializedParams}`).respond(200, expectedResult);
|
||||||
controller.getLanded(params);
|
controller.getLanded(params);
|
||||||
|
@ -344,6 +345,7 @@ describe('Ticket', () => {
|
||||||
warehouseFk: 1
|
warehouseFk: 1
|
||||||
};
|
};
|
||||||
const serializedParams = $httpParamSerializer(params);
|
const serializedParams = $httpParamSerializer(params);
|
||||||
|
controller.ticket.landed = landed;
|
||||||
|
|
||||||
$httpBackend.expect('GET', `Agencies/getShipped?${serializedParams}`).respond(200, expectedResult);
|
$httpBackend.expect('GET', `Agencies/getShipped?${serializedParams}`).respond(200, expectedResult);
|
||||||
controller.getShipped(params);
|
controller.getShipped(params);
|
||||||
|
|
Loading…
Reference in New Issue