crud test updated

This commit is contained in:
Joan Sanchez 2018-06-28 14:54:05 +02:00
parent 45b3a5ce02
commit 9527b839df
1 changed files with 2 additions and 2 deletions

View File

@ -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);
});
});