#709 PRECEDURE vn.buyUltimate() unit test
This commit is contained in:
parent
97c86efb84
commit
7d5c325abe
|
@ -11,9 +11,9 @@ describe('buyUltimate()', () => {
|
||||||
let query = `
|
let query = `
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
CALL vn.buyUltimate(?, ?);
|
CALL vn.buyUltimate(?, ?);
|
||||||
SELECT * FROM tmp.buyUltimate;
|
SELECT * FROM tmp.buyUltimate ORDER BY 'id' DESC;
|
||||||
|
|
||||||
ROLLBACK;`;
|
ROLLBACK;`;
|
||||||
|
|
||||||
let result = await app.models.Ticket.rawSql(query, [
|
let result = await app.models.Ticket.rawSql(query, [
|
||||||
params.warehouseFk,
|
params.warehouseFk,
|
||||||
params.date
|
params.date
|
||||||
|
|
Loading…
Reference in New Issue