back end unit test maintenance

This commit is contained in:
Carlos Jimenez 2018-10-24 11:56:15 +02:00
parent 784f00c860
commit 4ff2d0e6d3
1 changed files with 2 additions and 3 deletions

View File

@ -1,10 +1,9 @@
const app = require(`${servicesDir}/order/server/server`); const app = require(`${servicesDir}/order/server/server`);
// lo repara el cau 8189 describe('order getTotal()', () => {
xdescribe('order getTotal()', () => {
it('should return the total', async() => { it('should return the total', async() => {
let result = await app.models.Order.getTotal(1); let result = await app.models.Order.getTotal(1);
expect(result.total).toEqual(14.45); expect(result).toEqual(145.09);
}); });
}); });