#6274 workerTimeControl #1858
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue