From cc8b03778c755f02d68835a49ce3617c51114820 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Mon, 11 Oct 2021 19:18:06 +0200 Subject: [PATCH] fix: use correct method for fakers uuid --- cypress/factories/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/factories/user.js b/cypress/factories/user.js index 37fcaaab..9e133b55 100644 --- a/cypress/factories/user.js +++ b/cypress/factories/user.js @@ -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),