diff --git a/services/loopback/common/methods/client/specs/getCard.spec.js b/services/loopback/common/methods/client/specs/getCard.spec.js index 5a8b92198..89d2de258 100644 --- a/services/loopback/common/methods/client/specs/getCard.spec.js +++ b/services/loopback/common/methods/client/specs/getCard.spec.js @@ -1,12 +1,12 @@ const app = require(`${servicesDir}/client/server/server`); describe('Client card', () => { - xit('should call the card() method to receive a formated card of Bruce Wayne', async () => { + it('should call the card() method to receive a formated card of Bruce Wayne', async () => { let id = 101; let result = await app.models.Client.getCard(id); expect(result.id).toEqual(101); expect(result.name).toEqual('Bruce Wayne'); - expect(result.debt).toEqual(579.1); + expect(result.debt).toEqual(79.1); }); }); diff --git a/services/loopback/common/methods/client/specs/summary.spec.js b/services/loopback/common/methods/client/specs/summary.spec.js index e3c8b245a..7a7581e34 100644 --- a/services/loopback/common/methods/client/specs/summary.spec.js +++ b/services/loopback/common/methods/client/specs/summary.spec.js @@ -14,10 +14,10 @@ describe('client summary()', () => { expect(result.mana.mana).toEqual(151.33); }); - xit('should return a summary object containing debt', async () => { + it('should return a summary object containing debt', async () => { let result = await app.models.Client.summary(101); - expect(result.debt.debt).toEqual(579.1); + expect(result.debt.debt).toEqual(79.1); }); it('should return a summary object containing averageInvoiced', async () => {