From 5b34ca8d15b5862bdb888f7f50ecaa0b8d0e453a Mon Sep 17 00:00:00 2001 From: Alessio Biancalana Date: Tue, 9 Jul 2024 14:44:05 +0200 Subject: [PATCH] Use uuids for usernames in user factory --- test/support/factory.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/factory.ex b/test/support/factory.ex index d52dd47f7e..57b009b219 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -1042,7 +1042,7 @@ defmodule Trento.Factory do fullname: Faker.Pokemon.name(), password: password, password_hash: Argon2.hash_pwd_salt(password), - username: Faker.Pokemon.name(), + username: Faker.UUID.v4(), deleted_at: nil, locked_at: nil, password_change_requested_at: nil,