From 9527b839df53c67e23b7cdd07a742cb9c3d5970d Mon Sep 17 00:00:00 2001 From: Joan Date: Thu, 28 Jun 2018 14:54:05 +0200 Subject: [PATCH] crud test updated --- .../client/common/methods/client-contact/specs/crud.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/client/common/methods/client-contact/specs/crud.spec.js b/services/client/common/methods/client-contact/specs/crud.spec.js index 71c85a34b..f58752b3a 100644 --- a/services/client/common/methods/client-contact/specs/crud.spec.js +++ b/services/client/common/methods/client-contact/specs/crud.spec.js @@ -17,7 +17,7 @@ describe('Client crud', () => { await app.models.ClientContact.crud(data); let contacts = await app.models.ClientContact.find(); - expect(contacts.length).toEqual(25); + expect(contacts.length).toEqual(5); }); it('should perfom a query to update contacts', async() => { @@ -47,6 +47,6 @@ describe('Client crud', () => { let contacts = await app.models.ClientContact.find(); - expect(contacts.length).toEqual(24); + expect(contacts.length).toEqual(4); }); });