fix: use correct method for fakers uuid

This commit is contained in:
Dominik Pschenitschni 2021-10-11 19:18:06 +02:00
parent 18c31482df
commit cc8b03778c
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -11,7 +11,7 @@ export class UserFactory extends Factory {
return { return {
id: '{increment}', id: '{increment}',
username: faker.lorem.word(10) + faker.random.uuid(), username: faker.lorem.word(10) + faker.datatype.uuid(),
password: '$2a$14$dcadBoMBL9jQoOcZK8Fju.cy0Ptx2oZECkKLnaa8ekRoTFe1w7To.', // 1234 password: '$2a$14$dcadBoMBL9jQoOcZK8Fju.cy0Ptx2oZECkKLnaa8ekRoTFe1w7To.', // 1234
status: 0, status: 0,
created: formatISO(now), created: formatISO(now),