crud test updated
This commit is contained in:
parent
45b3a5ce02
commit
9527b839df
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue