This commit is contained in:
Gerard 2018-10-15 11:33:23 +02:00
parent f32f63f3c5
commit 5729f19a52
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,6 @@ describe('order addToOrder()', () => {
let modifiedRows = await app.models.OrderRow.find({where: {orderFk: 16}});
expect(modifiedRows.length).toBe(5);
app.models.OrderRow.removes({rows: [modifiedRows[modifiedRows.length - 1].id]});
await app.models.OrderRow.removes({rows: [modifiedRows[modifiedRows.length - 1].id]});
});
});