diff --git a/src/models/__snapshots__/workTimes.mocks.test.ts.snap b/src/models/__snapshots__/workTimes.mocks.test.ts.snap index e01bd897..23f9a896 100644 --- a/src/models/__snapshots__/workTimes.mocks.test.ts.snap +++ b/src/models/__snapshots__/workTimes.mocks.test.ts.snap @@ -20,6 +20,7 @@ Array [ "type": 1, }, ], + "createdAt": "2020-03-24", "date": "2020-03-24", "id": 0, "status": 1, @@ -43,6 +44,7 @@ Array [ "type": 2, }, ], + "createdAt": "2020-04-14", "date": "2020-04-14", "id": 1, "status": 1, @@ -56,6 +58,7 @@ Array [ "type": 2, }, ], + "createdAt": "2020-06-05", "date": "2020-06-05", "id": 2, "status": 1, @@ -79,6 +82,7 @@ Array [ "type": 1, }, ], + "createdAt": "2020-09-11", "date": "2020-09-11", "id": 3, "status": 1, @@ -97,6 +101,7 @@ Array [ "type": 1, }, ], + "createdAt": "2020-09-17", "date": "2020-09-17", "id": 4, "status": 1, diff --git a/src/models/workTimes.mocks.ts b/src/models/workTimes.mocks.ts index 6aa92af0..f1bbb03d 100644 --- a/src/models/workTimes.mocks.ts +++ b/src/models/workTimes.mocks.ts @@ -156,6 +156,7 @@ export const createWorkTimeChangeRequestMocks = ({ return createChangeRequest({ date, id, + createdAt: date, }); }); };