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

16 lines
282 B
TypeScript

import {Factory} from '../support/factory'
export class TaskAttachmentFactory extends Factory {
static table = 'task_attachments'
static factory() {
const now = new Date()
return {
id: '{increment}',
task_id: 1,
file_id: 1,
created: now.toISOString(),
}
}
}