Tests: Added missing attrs to DataGenerator

no issue

- `createUser` did not return `updated_at` and `updated_by`
- heyyyy 🤠
This commit is contained in:
kirrg001 2018-04-05 16:07:30 +02:00 committed by Katharina Irrgang
parent bda76acba6
commit 19596dcf42

View File

@ -470,7 +470,9 @@ DataGenerator.forKnex = (function () {
status: 'active',
password: '$2b$10$ujPIlqjTsYwfc2/zrqZXZ.yd7cQQm2iOkAFenTAJfveKkc23nwdeS',
created_by: DataGenerator.Content.users[0].id,
created_at: new Date()
created_at: new Date(),
updated_at: new Date(),
updated_by: DataGenerator.Content.users[0].id
});
}