Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/chat_names.rb')
-rw-r--r--spec/factories/chat_names.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/chat_names.rb b/spec/factories/chat_names.rb
index c872694ee64..ee29f0fa0e4 100644
--- a/spec/factories/chat_names.rb
+++ b/spec/factories/chat_names.rb
@@ -7,6 +7,8 @@ FactoryBot.define do
team_id { 'T0001' }
team_domain { 'Awesome Team' }
+ token { SecureRandom.uuid }
+
sequence(:chat_id) { |n| "U#{n}" }
chat_name { generate(:username) }
end