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 scheduled start time is string
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 12, 2022
1 parent bafe6e5 commit bdc655f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/api/consultation/create.post.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("Controller: POST /api/consultation", () => {
"attachedRoleID": model.attachedRoleID,
"finishedAt": model.finishedAt,
"reason": model.reason,
"scheduledStartAt": model.scheduledStartAt
"scheduledStartAt": model.scheduledStartAt.toJSON()
},
"relationships": {
"consultant": {
Expand Down Expand Up @@ -80,7 +80,7 @@ describe("Controller: POST /api/consultation", () => {
"attributes": {
"actionTaken": model.actionTaken,
"attachedRoleID": model.attachedRoleID,
"finishedAt": model.finishedAt,
"finishedAt": model.finishedAt?.toJSON(),
"reason": model.reason,
"scheduledStartAt": model.scheduledStartAt
},
Expand Down

0 comments on commit bdc655f

Please sign in to comment.