Dominik Pschenitschni
4908469d49
Also align repo closer to `create-vue` template and improve cypress integration
16 lines
282 B
TypeScript
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(),
|
|
}
|
|
}
|
|
} |