Fix setting task favorite status in test fixtures

This commit is contained in:
kolaente 2021-07-13 12:18:54 +02:00
parent 9e42559d70
commit 01ed17a0f0
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 1 additions and 2 deletions

View file

@ -14,7 +14,6 @@ export class TaskFactory extends Factory {
done: false, done: false,
list_id: 1, list_id: 1,
created_by_id: 1, created_by_id: 1,
is_favorite: false,
index: '{increment}', index: '{increment}',
created: formatISO(now), created: formatISO(now),
updated: formatISO(now) updated: formatISO(now)

View file

@ -11,7 +11,7 @@ export default class FileModel extends AbstractModel {
id: 0, id: 0,
mime: '', mime: '',
name: '', name: '',
size: '', size: 0,
created: null, created: null,
} }
} }