#6274 workerTimeControl #1858
|
@ -31,7 +31,7 @@ describe('docuware upload()', () => {
|
||||||
try {
|
try {
|
||||||
const options = {transaction: tx};
|
const options = {transaction: tx};
|
||||||
const user = await models.UserConfig.findById(userId, null, options);
|
const user = await models.UserConfig.findById(userId, null, options);
|
||||||
await user.updateAttribute('tabletFk', 'Tablet1');
|
await user.updateAttribute('tabletFk', 'Tablet1', options);
|
||||||
await models.Docuware.upload(ctx, ticketIds, fileCabinetName, options);
|
await models.Docuware.upload(ctx, ticketIds, fileCabinetName, options);
|
||||||
|
|
||||||
await tx.rollback();
|
await tx.rollback();
|
||||||
|
|
Loading…
Reference in New Issue