Skip to content

Commit

Permalink
chore: reduce length of branch in user name
Browse files Browse the repository at this point in the history
  • Loading branch information
JBR90 committed Nov 26, 2024
1 parent 7e52126 commit 3819cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/router/testSupport/prepareUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const generateEmailAddress = (personaName: keyof typeof personas) => {
// All users use the "[email protected]" mailbox with a `+` alias
"test",
// Replace non-alphanumeric characters with -
branch.replace(/\W+/g, "-"),
branch.replace(/\W+/g, "-").slice(-15),
// A new login for each persona
personaName,
// Allows signing in with the email_code strategy
Expand Down

0 comments on commit 3819cb1

Please sign in to comment.