From f9693705d7e6073d8128a708c0968ad4fc8bd996 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Mon, 10 Jul 2023 17:06:10 -0400 Subject: [PATCH] Merge pull request #22612 from DavidResende0/add-workflow-credential-factories Added Workflow Credentials to ./spec/factories/authentication.rb (cherry picked from commit c37f64360648e5b94a262459bb2b3bda2a50015e) --- spec/factories/authentication.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/spec/factories/authentication.rb b/spec/factories/authentication.rb index 69044949989..34e784c2147 100644 --- a/spec/factories/authentication.rb +++ b/spec/factories/authentication.rb @@ -149,6 +149,18 @@ :parent => :embedded_ansible_credential, :class => "ManageIQ::Providers::EmbeddedAnsible::AutomationManager::NetworkCredential" + factory :embedded_workflows_credential, + :parent => :embedded_automation_manager_authentication, + :class => "ManageIQ::Providers::Workflows::AutomationManager::Credential" + + factory :embedded_workflows_scm_credential, + :parent => :embedded_workflows_credential, + :class => "ManageIQ::Providers::Workflows::AutomationManager::ScmCredential" + + factory :embedded_workflows_workflow_credential, + :parent => :embedded_workflows_credential, + :class => "ManageIQ::Providers::Workflows::AutomationManager::WorkflowCredential" + factory :auth_key_pair_cloud, :class => "ManageIQ::Providers::CloudManager::AuthKeyPair" factory :auth_key_pair_amazon, :class => "ManageIQ::Providers::Amazon::CloudManager::AuthKeyPair" factory :auth_key_pair_openstack, :class => "ManageIQ::Providers::Openstack::CloudManager::AuthKeyPair"