test fron arreglados
gitea/salix/dev This commit looks good Details

This commit is contained in:
Javi Gallego 2019-11-18 16:03:10 +01:00
parent 60cdc1114c
commit f12b1b8595
1 changed files with 12 additions and 6 deletions

View File

@ -72,7 +72,8 @@ describe('Ticket', () => {
const spectedResult = {
landed: landed,
addressFk: 100,
agencyModeFk: 7
agencyModeFk: 7,
warehouseFk: 1
};
controller.landed = landed;
@ -98,7 +99,8 @@ describe('Ticket', () => {
const spectedResult = {
landed: landed,
addressFk: 121,
agencyModeFk: 7
agencyModeFk: 7,
warehouseFk: 2
};
controller.landed = landed;
@ -123,7 +125,8 @@ describe('Ticket', () => {
const spectedResult = {
shipped: shipped,
addressFk: 121,
agencyModeFk: 7
agencyModeFk: 7,
warehouseFk: 1
};
controller.shipped = shipped;
@ -147,7 +150,8 @@ describe('Ticket', () => {
const spectedResult = {
landed: landed,
addressFk: 121,
agencyModeFk: 7
agencyModeFk: 7,
warehouseFk: 1
};
controller.landed = landed;
@ -172,7 +176,8 @@ describe('Ticket', () => {
const spectedResult = {
shipped: shipped,
addressFk: 121,
agencyModeFk: agencyModeId
agencyModeFk: agencyModeId,
warehouseFk: 1
};
controller.ticket.shipped = shipped;
controller.agencyModeId = 8;
@ -187,7 +192,8 @@ describe('Ticket', () => {
const spectedResult = {
landed: landed,
addressFk: 121,
agencyModeFk: agencyModeId
agencyModeFk: agencyModeId,
warehouseFk: 1
};
controller.ticket.landed = landed;
controller.agencyModeId = 7;