diff --git a/spec/factories/miq_request_task.rb b/spec/factories/miq_request_task.rb index fd9d36559d3..7601a549bd4 100644 --- a/spec/factories/miq_request_task.rb +++ b/spec/factories/miq_request_task.rb @@ -20,6 +20,9 @@ end end factory :miq_provision_vmware_via_pxe, :parent => :miq_provision_vmware, :class => "ManageIQ::Providers::Vmware::InfraManager::ProvisionViaPxe" + factory :vm_migrate_task, :parent => :miq_request_task, :class => "VmMigrateTask" do + request_type "vm_migrate" + end # Cloud factory :miq_provision_cloud, :parent => :miq_provision, :class => "ManageIQ::Providers::CloudManager::Provision"