back-end tests updated

This commit is contained in:
Joan Sanchez 2018-06-19 09:20:14 +02:00
parent db5457420d
commit 0822f3ce53
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ describe('Client listWorkers', () => {
.then(result => {
let amountOfEmployees = Object.keys(result).length;
expect(amountOfEmployees).toEqual(37);
expect(amountOfEmployees).toEqual(39);
done();
})
.catch(catchErrors(done));

View File

@ -5,7 +5,7 @@ describe('ticket getVolume()', () => {
let ticketFk = 1;
app.models.Ticket.getVolume(ticketFk)
.then(response => {
expect(response[0].m3).toEqual(0.008);
expect(response[0].m3).toEqual(0.04);
done();
});
});