From 04de642c694da53771e5138b227037d3918d140d Mon Sep 17 00:00:00 2001 From: chinlinlee Date: Sun, 5 Nov 2023 10:01:53 +0800 Subject: [PATCH] test: remove expand field of patient --- test/patient.mongo.test.js | 3 +++ 1 file changed, 3 insertions(+) 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); });