forked from vikunja/frontend
Dominik Pschenitschni
4908469d49
Also align repo closer to `create-vue` template and improve cypress integration
16 lines
277 B
TypeScript
16 lines
277 B
TypeScript
import {Factory} from '../support/factory'
|
|
|
|
export class TaskAssigneeFactory extends Factory {
|
|
static table = 'task_assignees'
|
|
|
|
static factory() {
|
|
const now = new Date()
|
|
|
|
return {
|
|
id: '{increment}',
|
|
task_id: 1,
|
|
user_id: 1,
|
|
created: now.toISOString(),
|
|
}
|
|
}
|
|
} |