This commit is contained in:
parent
801037da64
commit
763af7da2d
|
@ -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