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

(cherry picked from commit 7e70d3b)
  • Loading branch information
Fryguy committed May 23, 2024
1 parent c8b623e commit 606376f
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 606376f

Please sign in to comment.