Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
unit(consultation): ensure to receive a schedule using string
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 12, 2022
1 parent 1e1829c commit 63632ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/api/consultation/update(id).patch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("Controller: PATCH /api/consultation/:id", () => {
"attachedRoleID": newModel.attachedRoleID,
"finishedAt": null,
"reason": newModel.reason,
"scheduledStartAt": newModel.scheduledStartAt,
"scheduledStartAt": newModel.scheduledStartAt.toJSON(),
"startedAt": newModel.startedAt
},
"id": String(model.id),
Expand Down Expand Up @@ -51,7 +51,7 @@ describe("Controller: PATCH /api/consultation/:id", () => {
"attachedRoleID": consultation.attachedRoleID,
"finishedAt": consultation.finishedAt,
"reason": consultation.reason,
"scheduledStartAt": consultation.scheduledStartAt,
"scheduledStartAt": consultation.scheduledStartAt.toJSON(),
"startedAt": consultation.startedAt
},
"id": String(consultation.id),
Expand Down

0 comments on commit 63632ac

Please sign in to comment.