Revision 643ca12c
Added by Ondřej Pražák almost 8 years ago
test/functional/api/v1/settings_controller_test.rb | ||
---|---|---|
end
|
||
|
||
test "should update setting" do
|
||
put :update, { :id => settings(:attributes1).to_param, :setting => { } }
|
||
put :update, { :id => settings(:attributes11).to_param, :setting => { } }
|
||
assert_response :success
|
||
end
|
||
|
Also available in: Unified diff
Fixes #15370 - Validate settings values
Adds validations for administrator, email_reply_address
and trusted_puppetmaster_hosts settings