From 84bc50593741dbb57ec71a56a1cc471b88736ce4 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Mon, 19 Feb 2018 11:58:02 +0100 Subject: [PATCH] adapted test to show now 6 sales person --- .../common/methods/client/specs/activeSalesperson.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/loopback/common/methods/client/specs/activeSalesperson.spec.js b/services/loopback/common/methods/client/specs/activeSalesperson.spec.js index 085c0f3ce..80c47db24 100644 --- a/services/loopback/common/methods/client/specs/activeSalesperson.spec.js +++ b/services/loopback/common/methods/client/specs/activeSalesperson.spec.js @@ -17,14 +17,14 @@ describe('Client activeSalesPerson', () => { app.models.Client.activeSalesPerson(filter, callback); }); - it('should call the activeSalesPerson() method with no limit and receive all 3 salesPersons', done => { + it('should call the activeSalesPerson() method with no limit and receive all 6 salesPersons', done => { let filter = { }; let callback = (error, result) => { if (error) return catchErrors(done)(error); - expect(result.length).toEqual(3); + expect(result.length).toEqual(6); done(); };