Skip to content

Commit

Permalink
fix json test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars-Erik Roald committed Dec 19, 2023
1 parent ecf2024 commit bfc10e7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/updateJSON.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ describe('update with JSON diff', () => {


let changedRow = await db.order.updateChanges(row, oldRow, {deliveryAddress: true, lines: {orderBy: 'id'}});
await changedRow.refresh({deliveryAddress: true, lines: {orderBy: 'id'}});
await changedRow.refresh();
const expected = {
id: 1,
orderDate: dateToISOString(date1).substring(0, changedRow.orderDate.length),
Expand Down

0 comments on commit bfc10e7

Please sign in to comment.