Tests are not passing
Some tests are not passing anymore:
7) Tracking Parcel
GET /tracking/{sessionId}/parcel/status/{status}
Administrator lists the parcels by status SCHEDULED:
AssertionError: expected 500 to equal 200
+ expected - actual
-500
+200
at Context.<anonymous> (test/routes/test.parcel.routes.js:66:56)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
8) Tracking Parcel
DELETE /tracking/:sessionId/investigation/id/:investigationId/parcel/id/:parcelId/item
InvestigationUser removes an item from a parcel :
AssertionError: expected 500 to equal 200
+ expected - actual
-500
+200
at Context.<anonymous> (test/routes/test.parcel.routes.js:205:49)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
9) Tracking Parcel
DELETE /tracking/:sessionId/investigation/id/:investigationId/parcel/id/:parcelId/item
InstrumentScientist removes an item from a parcel :
AssertionError: expected 500 to equal 200
+ expected - actual
-500
+200
at Context.<anonymous> (test/routes/test.parcel.routes.js:205:49)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
10) Tracking Parcel
DELETE /tracking/:sessionId/investigation/id/:investigationId/parcel/id/:parcelId/item
Administrator removes an item from a parcel :
AssertionError: expected 500 to equal 200
+ expected - actual
-500
+200
At least there is a least a serious problem here:
2020-08-23T11:02:01.680Z [error]: helper.findParcel is not a function TypeError: helper.findParcel is not a function