summaryrefslogtreecommitdiffstats
path: root/test/functional/timelog_custom_fields_visibility_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/timelog_custom_fields_visibility_test.rb')
-rw-r--r--test/functional/timelog_custom_fields_visibility_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/timelog_custom_fields_visibility_test.rb b/test/functional/timelog_custom_fields_visibility_test.rb
index ac21d76ef..5361ee03e 100644
--- a/test/functional/timelog_custom_fields_visibility_test.rb
+++ b/test/functional/timelog_custom_fields_visibility_test.rb
@@ -95,7 +95,7 @@ class TimelogCustomFieldsVisibilityTest < ActionController::TestCase
p1 = Project.generate!
p2 = Project.generate!
user = User.generate!
- User.add_to_project(user, p1, Role.find_all_by_id(1,3))
+ User.add_to_project(user, p1, Role.find_all_by_id([1, 3]))
User.add_to_project(user, p2, Role.find_all_by_id(3))
TimeEntry.generate!(
:issue => Issue.generate!(:project => p1, :tracker_id => 1,