diff --git a/test/support/factory.ex b/test/support/factory.ex index f93bcb52f..02ccdcda4 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -130,8 +130,8 @@ defmodule Skate.Factory do def user_factory do %Skate.Settings.Db.User{ uuid: Ecto.UUID.generate(), - email: sequence("test@mbta.com"), - username: sequence("test_user") + email: sequence(:user_email, &"test-#{&1}@mbta.com"), + username: sequence("Skate.Settings.Db.User.username:") } end