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
d68aacc78a
commit
0acb1e649d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue