summaryrefslogtreecommitdiffstats
path: root/test/functional/timelog_report_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-09 09:31:16 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-09 09:31:16 +0000
commit3c91a3d5b2f9a2ce55b941ee68fbaa596b5b3052 (patch)
treed54cf120aea24f14b4eb7a06f41749f1eacd6e7a /test/functional/timelog_report_test.rb
parent433d8a081f29785ac2d21cba36592678f4001511 (diff)
downloadredmine-3c91a3d5b2f9a2ce55b941ee68fbaa596b5b3052.tar.gz
redmine-3c91a3d5b2f9a2ce55b941ee68fbaa596b5b3052.zip
Per role visibility settings for spent time custom fields (#31859).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18358 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/timelog_report_test.rb')
-rw-r--r--test/functional/timelog_report_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/timelog_report_test.rb b/test/functional/timelog_report_test.rb
index 00432302d..a643522d3 100644
--- a/test/functional/timelog_report_test.rb
+++ b/test/functional/timelog_report_test.rb
@@ -138,7 +138,7 @@ class TimelogReportTest < Redmine::ControllerTest
def test_hidden_custom_fields_should_not_be_proposed
TimeEntryCustomField.create!(name: 'shown', field_format: 'list', possible_values: ['value1', 'value2'], visible: true)
- TimeEntryCustomField.create!(name: 'Hidden', field_format: 'list', possible_values: ['value1', 'value2'], visible: false)
+ TimeEntryCustomField.create!(name: 'Hidden', field_format: 'list', possible_values: ['value1', 'value2'], visible: false, role_ids: [3])
get :report, :params => {:project_id => 1}
assert_response :success