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

atlassian_identities.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 80420e335a9618b10780bc9d786640d6bded2c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

FactoryBot.define do
  factory :atlassian_identity, class: 'Atlassian::Identity' do
    extern_uid { generate(:username) }
    user { association(:user) }
    expires_at { 2.weeks.from_now }
    token { SecureRandom.alphanumeric(1254) }
    refresh_token { SecureRandom.alphanumeric(45) }
  end
end