test: refs #8282 fix workerActivity add fixtures
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Alex Moreno 2024-12-10 10:38:53 +01:00
parent 2f47d7d76e
commit b258de4252
1 changed files with 2 additions and 2 deletions

View File

@ -10,10 +10,10 @@ describe('workerActivity insert()', () => {
try {
await models.WorkerActivityType.create(
{'code': 'STOP', 'description': 'STOP'}, options
{'code': 'TEST', 'description': 'TEST'}, options
);
await models.WorkerActivity.add(ctx, 'STOP', 'APP', options);
await models.WorkerActivity.add(ctx, 'TEST', 'APP', options);
count = await models.WorkerActivity.count(
{'workerFK': 1106}, options