This commit is contained in:
parent
e69ec2c856
commit
bf13e85ecc
|
@ -1,6 +1,6 @@
|
||||||
const {models} = require('vn-loopback/server/server');
|
const {models} = require('vn-loopback/server/server');
|
||||||
|
|
||||||
fdescribe('expeditonPallet getPallet()', () => {
|
describe('expeditonPallet getPallet()', () => {
|
||||||
beforeAll(async() => {
|
beforeAll(async() => {
|
||||||
ctx = {
|
ctx = {
|
||||||
accessToken: {userId: 9},
|
accessToken: {userId: 9},
|
||||||
|
|
|
@ -67,7 +67,8 @@ module.exports = Self => {
|
||||||
longName: sale.longName,
|
longName: sale.longName,
|
||||||
packingType: sale.itemPackingTypeFk,
|
packingType: sale.itemPackingTypeFk,
|
||||||
subName: sale.subName,
|
subName: sale.subName,
|
||||||
quantity: {saldo: sale.quantity},
|
quantity: sale.quantity,
|
||||||
|
saldo: sale.quantity,
|
||||||
trabajador: sale.workerCode,
|
trabajador: sale.workerCode,
|
||||||
idMovimiento: sale.saleFk,
|
idMovimiento: sale.saleFk,
|
||||||
salesPersonFk: sale.salesPersonFk,
|
salesPersonFk: sale.salesPersonFk,
|
||||||
|
|
Loading…
Reference in New Issue