diff --git a/test/patient.mongo.test.js b/test/patient.mongo.test.js index 3e4e5ed1..fff93fdd 100644 --- a/test/patient.mongo.test.js +++ b/test/patient.mongo.test.js @@ -88,6 +88,9 @@ describe("Patient MongoDB and DicomJsonModel", async() => { let docObj = findDoc.toObject(); delete docObj._id; delete docObj.id; + delete docObj.deleteStatus; + delete docObj.createdAt; + delete docObj.updatedAt; expect(docObj).to.deep.equal(fakePatientData); });