From 4ff2d0e6d3311c792a95fe383fbaacc72cdb73a0 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Wed, 24 Oct 2018 11:56:15 +0200 Subject: [PATCH] back end unit test maintenance --- services/order/common/methods/order/specs/getTotal.spec.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/order/common/methods/order/specs/getTotal.spec.js b/services/order/common/methods/order/specs/getTotal.spec.js index 113519c23..fe250fe9f 100644 --- a/services/order/common/methods/order/specs/getTotal.spec.js +++ b/services/order/common/methods/order/specs/getTotal.spec.js @@ -1,10 +1,9 @@ const app = require(`${servicesDir}/order/server/server`); -// lo repara el cau 8189 -xdescribe('order getTotal()', () => { +describe('order getTotal()', () => { it('should return the total', async() => { let result = await app.models.Order.getTotal(1); - expect(result.total).toEqual(14.45); + expect(result).toEqual(145.09); }); });