fix test: refs #6274
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-01-02 08:58:41 +01:00
parent 801037da64
commit 763af7da2d
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ const models = require('vn-loopback/server/server').models;
describe('workerTimeControl login()', () => {
it('should correctly login', async() => {
const response = await models.WorkerTimeControl.login(9, {});
const response = await models.WorkerTimeControl.login(9);
expect(response.name).toBe('developer');
});