#6274 workerTimeControl #1858

Merged
jorgep merged 31 commits from 6274-loginWorkerTimeControl into dev 2024-01-03 11:31:52 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 763af7da2d - Show all commits

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);
jorgep marked this conversation as resolved Outdated
Outdated
Review

No hace falta pasar el objeto

No hace falta pasar el objeto
expect(response.name).toBe('developer');
});