Use strong params for CustomFieldEnumeration.

git-svn-id: http://svn.redmine.org/redmine/trunk@16603 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-06-03 08:43:04 +00:00
parent b923a54b2d
commit 6ca3e4f75f
3 changed files with 14 additions and 14 deletions

View File

@@ -75,12 +75,12 @@ class CustomFieldEnumerationsControllerTest < Redmine::ControllerTest
put :update_each, :params => {
:custom_field_id => @field.id,
:custom_field_enumerations => {
@bar.id => {
@bar.id.to_s => {
:position => "1",
:name => "Baz",
:active => "1"
},
@foo.id => {
@foo.id.to_s => {
:position => "2",
:name => "Foo",
:active => "0"