#6274 workerTimeControl #1858
|
@ -3,7 +3,7 @@ const models = require('vn-loopback/server/server').models;
|
||||||
|
|
||||||
describe('workerTimeControl login()', () => {
|
describe('workerTimeControl login()', () => {
|
||||||
it('should correctly login', async() => {
|
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
|
|||||||
|
|
||||||
expect(response.name).toBe('developer');
|
expect(response.name).toBe('developer');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
No hace falta pasar el objeto