Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Dec 19, 2024
1 parent 0a27634 commit 3d957c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/hierarchy-operations/lineage-constraints.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ describe('lineage constriants', () => {
const parentDoc = await pouchDb.get('district_2');

const descendants = await Promise.all(['health_center_1_contact', 'clinic_1', 'clinic_1_contact', 'patient_1'].map(id => pouchDb.get(id)));
const actual = assertOnPrimaryContactRemoval(pouchDb, contactDoc, parentDoc, [contactDoc]);
const actual = assertOnPrimaryContactRemoval(pouchDb, contactDoc, parentDoc, descendants);
expect(actual).to.eventually.be.rejectedWith(`patient_1) from the hierarchy`);
});

Expand Down

0 comments on commit 3d957c5

Please sign in to comment.