fix(filter): removed fixtures that no longer work due to structure changes
This commit is contained in:
parent
ec9c061051
commit
158c15afa1
|
@ -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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue