Skip to content

Commit

Permalink
Merge pull request #23042 from kbrock/service_reconfigure_request_type
Browse files Browse the repository at this point in the history
service reconfigure task needs a default request type
  • Loading branch information
Fryguy authored May 23, 2024
2 parents 826a577 + 0ed6a36 commit 7e70d3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/factories/miq_request_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
factory :automation_task, :parent => :miq_request_task, :class => "AutomationTask"

# Services
factory :service_reconfigure_task, :parent => :miq_request_task, :class => "ServiceReconfigureTask"
factory :service_reconfigure_task, :parent => :miq_request_task, :class => "ServiceReconfigureTask" do
request_type { 'service_reconfigure' }
end

factory :service_template_provision_task, :parent => :miq_request_task, :class => "ServiceTemplateProvisionTask" do
state { 'pending' }
request_type { 'clone_to_service' }
Expand Down

0 comments on commit 7e70d3b

Please sign in to comment.