refs #5925 fix: add options
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-01-02 08:12:45 +01:00
parent 318761185b
commit 0101dcda3a
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ describe('docuware upload()', () => {
try {
const options = {transaction: tx};
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 tx.rollback();