feat: remove formatISO from list-view-gantt.spec
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2023-01-05 12:51:00 +01:00
parent b71d41c5ec
commit b8386b925f
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ describe('List View Gantt', () => {
const now = new Date()
TaskFactory.create(1, {
start_date: formatISO(now),
end_date: formatISO(now.setDate(now.getDate() + 4)),
start_date: now.toISOString(),
end_date: new Date(new Date(now).setDate(now.getDate() + 4)).toISOString(),
})
cy.visit('/lists/1/gantt')