Revision 160e24ea
Added by Joseph Magen almost 10 years ago
test/functional/api/v2/hosts_controller_test.rb | ||
---|---|---|
:operatingsystem_id => Operatingsystem.find_by_name('Redhat').id,
|
||
:puppet_proxy_id => smart_proxies(:one).id,
|
||
:compute_resource_id => compute_resources(:one).id,
|
||
:root_pass => "xybxa6JUkz63w"
|
||
:root_pass => "xybxa6JUkz63w",
|
||
:location_id => taxonomies(:location1).id,
|
||
:organization_id => taxonomies(:organization1).id
|
||
}
|
||
end
|
||
|
Also available in: Unified diff
fixes #6430 - validate presence of location and organization for managed host if Settings are turned on