tests: fix random username conflicts.

Fix parallel tests randomly failing because of username conflicts.
This commit is contained in:
evazion
2020-06-16 00:08:57 -05:00
parent b583b3c810
commit 049f33916b

View File

@@ -1,6 +1,6 @@
FactoryBot.define do
factory(:user, aliases: [:creator, :updater]) do
name { FFaker::Internet.user_name + $PID.to_s }
name { SecureRandom.uuid }
password {"password"}
default_image_size {"large"}
level {20}