Skip to content

Commit

Permalink
Fix for change tracking delete test
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkrishnan authored Jul 1, 2024
1 parent 259abc1 commit 5384bc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xmpls/change-tracking.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ describe("Integration Test for ChangeTracking", () => {
const incidentChanges = await SELECT.from(ChangeView).where({
entity: "sap.capire.incidents.Incidents",
attribute: "status",
keys: `ID=${draftId}`,
modification: "delete"
})
expect(incidentChanges.length).to.equal(0);
expect(incidentChanges.length).to.equal(1);
});
});
});

0 comments on commit 5384bc8

Please sign in to comment.