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
Signed by untrusted user: dpschen
GPG Key ID: B257AC0149F43A77
1 changed files with 1 additions and 1 deletions

View File

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