1
0
tl-vikunja/frontend/cypress/factories/task_reminders.ts
2024-02-07 14:56:56 +01:00

18 lines
337 B
TypeScript

import {Factory} from '../support/factory'
export class TaskReminderFactory extends Factory {
static table = 'task_reminders'
static factory() {
const now = new Date()
return {
id: '{increment}',
task_id: 1,
reminder: now.toISOString(),
created: now.toISOString(),
relative_to: '',
relative_period: 0,
}
}
}