Skip to content

Commit

Permalink
Merge pull request #922 from cloud-pi-native/fix/flaky-unit-test-repo…
Browse files Browse the repository at this point in the history
…sitory

test: 🤡 bad faker type choice made repository unit test occasionally failed
  • Loading branch information
clairenollet authored Jan 24, 2024
2 parents eb39e30 + 95befe9 commit 9e52ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/test-utils/src/utils/random-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}

Expand Down

0 comments on commit 9e52ea4

Please sign in to comment.