From 7ad66d455a3dfe3734e3d6ca38b0ee043d8f40e7 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 24 Apr 2020 18:03:04 +0100 Subject: [PATCH] fixing tests --- packages/common/lib/records/getNewRecord.js | 3 ++- packages/server/testing/000005.ldb | Bin 237 -> 0 bytes packages/server/testing/CURRENT | 1 - packages/server/testing/LOCK | 0 packages/server/testing/LOG | 5 ----- packages/server/testing/LOG.old | 1 - packages/server/testing/MANIFEST-000004 | Bin 123 -> 0 bytes 7 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 packages/server/testing/000005.ldb delete mode 100644 packages/server/testing/CURRENT delete mode 100644 packages/server/testing/LOCK delete mode 100644 packages/server/testing/LOG delete mode 100644 packages/server/testing/LOG.old delete mode 100644 packages/server/testing/MANIFEST-000004 diff --git a/packages/common/lib/records/getNewRecord.js b/packages/common/lib/records/getNewRecord.js index 13f9df10f0..7562c49590 100644 --- a/packages/common/lib/records/getNewRecord.js +++ b/packages/common/lib/records/getNewRecord.js @@ -5,7 +5,8 @@ var getNewRecord = function getNewRecord(schema, modelName) { var record = { _id: (0, _shortid.generate)(), - modelId: model._id }; + modelId: model._id + }; for (var field in model.schema.properties) { diff --git a/packages/server/testing/000005.ldb b/packages/server/testing/000005.ldb deleted file mode 100644 index d4865c7f776db112243eefc046ab3d684ca696b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 237 zcmZQjR6D#sH?<^Dx40y~DE09E_?-OY#GLrj(##Y_Mg}lYN-|9{OffJw)=f+`OVc$m zN=?zVFix}7HBK`!H8eFhvoN-_R01glYfuiZdCs5!fovdAP9WxHNKBbCn?Z>wEi