Skip to content

Commit

Permalink
Update testHelper.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Apr 27, 2024
1 parent 1b9997c commit d4fe833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tests/testHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const createLocation = async (nameEN: string, nameFR: string) => {
return location.id as string
}

export const GetRandomEmail = () => `random.${uuid()}@test.bookcars.ma`
export const GetRandomEmail = () => `random.${uuid()}.${Date.now()}@test.demo.bookcars.ma`

export const GetRandromObjectId = () => new mongoose.Types.ObjectId()

Expand Down

0 comments on commit d4fe833

Please sign in to comment.