diff options
Diffstat (limited to 'spec/factories/integrations.rb')
-rw-r--r-- | spec/factories/integrations.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/factories/integrations.rb b/spec/factories/integrations.rb index 10568d7f1cd..a927f0fb501 100644 --- a/spec/factories/integrations.rb +++ b/spec/factories/integrations.rb @@ -197,6 +197,12 @@ FactoryBot.define do issue_tracker end + factory :clickup_integration, class: 'Integrations::Clickup' do + project + active { true } + issue_tracker + end + trait :issue_tracker do transient do create_data { true } @@ -291,6 +297,7 @@ FactoryBot.define do app_store_key_id { 'ABC1' } app_store_private_key_file_name { 'auth_key.p8' } app_store_private_key { File.read('spec/fixtures/auth_key.p8') } + app_store_protected_refs { true } end factory :google_play_integration, class: 'Integrations::GooglePlay' do @@ -312,6 +319,15 @@ FactoryBot.define do token { 'squash_tm_token' } end + factory :telegram_integration, class: 'Integrations::Telegram' do + project + type { 'Integrations::Telegram' } + active { true } + + token { '123456:ABC-DEF1234' } + room { '@channel' } + end + # this is for testing storing values inside properties, which is deprecated and will be removed in # https://gitlab.com/gitlab-org/gitlab/issues/29404 trait :without_properties_callback do |