From f1e02587e397049b954f9dbfc99b84af8925cc79 Mon Sep 17 00:00:00 2001 From: Joan Date: Tue, 16 Oct 2018 14:13:58 +0200 Subject: [PATCH] fixed updateBillingData back unit test --- .../common/methods/client/specs/updateBillingData.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/loopback/common/methods/client/specs/updateBillingData.spec.js b/services/loopback/common/methods/client/specs/updateBillingData.spec.js index a90b2f300b..a95819e925 100644 --- a/services/loopback/common/methods/client/specs/updateBillingData.spec.js +++ b/services/loopback/common/methods/client/specs/updateBillingData.spec.js @@ -32,11 +32,12 @@ describe('Client updateBillingData', () => { expect(error.message).toEqual(`You don't have enough privileges to do that`); }); - xit('should update the billing data and check if the changes were made', async() => { + it('should update the billing data and check if the changes were made', async() => { let ctxOfAdmin = {req: {accessToken: {userId: 5}}}; let params = { phone: 2222222222, payMethodFk: 4, + bankEntityFk: 128, dueDay: 30, iban: 'ES91 2100 0418 4502 0005 1332', hasLcr: 1,