feat: refs #8624 refs#8624 addWorkerActions
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
119ae0819b
commit
2941e5f80a
|
@ -3,7 +3,7 @@ const {models} = require('vn-loopback');
|
|||
describe('workerActivity insert()', () => {
|
||||
const ctx = beforeAll.getCtx(1106);
|
||||
|
||||
it('should insert in workerActivity', async() => {
|
||||
fit('should insert in workerActivity', async() => {
|
||||
const tx = await models.WorkerActivity.beginTransaction({});
|
||||
let count = 0;
|
||||
const options = {transaction: tx};
|
||||
|
@ -13,7 +13,7 @@ describe('workerActivity insert()', () => {
|
|||
{'code': 'TEST', 'description': 'TEST'}, options
|
||||
);
|
||||
|
||||
await models.WorkerActivity.add(ctx, 'TEST', 'APP', options);
|
||||
await models.WorkerActivity.add(ctx, 'TEST', 'APP', 'description', options);
|
||||
|
||||
count = await models.WorkerActivity.count(
|
||||
{'workerFK': 1106}, options
|
||||
|
|
Loading…
Reference in New Issue