diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index ca11a5e49..ec3c46127 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -2290,9 +2290,6 @@ INSERT INTO `vn`.`awb` (id, code, package, weight, created, amount, transitoryFk (4, '99610288821', 252, 2777, CURDATE(), 3641, 1, 1), (5, '07546500834', 229, 3292, CURDATE(), 6601, 2, 1), (6, '22101929561', 37, 458, CURDATE(), 441, 2, 1), - (7, '07546491432', 258, 3034, CURDATE(), 6441, 2, 1), - (8, '99610288644', 476, 4461, CURDATE(), 5751, 442, 1), - (9, '99610289193', 302, 2972, CURDATE(), 3871, 442, 1), (10, '07546500856', 185, 2364, CURDATE(), 5321, 442, 1); REPLACE INTO vn.dua (id, code, awbFk, issued, operated, booked, bookEntried, gestdocFk, customsValue, companyFk) diff --git a/modules/invoiceIn/back/methods/invoice-in/specs/filter.spec.js b/modules/invoiceIn/back/methods/invoice-in/specs/filter.spec.js index 954a33f98..401b8dab0 100644 --- a/modules/invoiceIn/back/methods/invoice-in/specs/filter.spec.js +++ b/modules/invoiceIn/back/methods/invoice-in/specs/filter.spec.js @@ -100,7 +100,7 @@ describe('InvoiceIn filter()', () => { try { const ctx = { args: { - awbCode: '07546491432', + awbCode: '07546500856', } }; @@ -108,8 +108,8 @@ describe('InvoiceIn filter()', () => { const firstRow = result[0]; expect(result.length).toEqual(1); - expect(firstRow.id).toEqual(7); - expect(firstRow.awbCode).toEqual('07546491432'); + expect(firstRow.id).toEqual(10); + expect(firstRow.awbCode).toEqual('07546500856'); await tx.rollback(); } catch (e) {