Skip to content

Commit

Permalink
Merge pull request #65 from cap-js/navinkrishnan-patch-1
Browse files Browse the repository at this point in the history
Fix: change tracking delete test case with v1.0.7
  • Loading branch information
DanSchlachter authored Jul 8, 2024
2 parents d431267 + 5384bc8 commit c8b8743
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 c8b8743

Please sign in to comment.