From 95befe9e21bf98f256f66fe2b42334a51deca6c2 Mon Sep 17 00:00:00 2001 From: Claire Nollet Date: Wed, 24 Jan 2024 18:13:55 +0100 Subject: [PATCH] test: :clown_face: bad faker type choice made repository unit test occasionally failed --- packages/test-utils/src/utils/random-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/test-utils/src/utils/random-utils.ts b/packages/test-utils/src/utils/random-utils.ts index 7ded163e0..689b12354 100644 --- a/packages/test-utils/src/utils/random-utils.ts +++ b/packages/test-utils/src/utils/random-utils.ts @@ -88,7 +88,7 @@ export const getRandomRepo = (projectId = faker.string.uuid()) => { status: faker.helpers.arrayElement(achievedStatus), } if (repo.isPrivate) { - repo.externalUserName = faker.internet.userName() + repo.externalUserName = faker.person.firstName() repo.externalToken = faker.internet.password({ length: 25 }) }