summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-13 23:16:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-13 23:16:05 +0000
commit35587f9d39fca04714eaf60dc9ab3c21d6e613a8 (patch)
treed831578150923228fe635f48a211e054ccaa7a2a /test
parent2b5d0362bc3764926105fba42cf06776ca75c65f (diff)
downloadredmine-35587f9d39fca04714eaf60dc9ab3c21d6e613a8.tar.gz
redmine-35587f9d39fca04714eaf60dc9ab3c21d6e613a8.zip
Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17734 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/timelog_custom_fields_visibility_test.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/timelog_custom_fields_visibility_test.rb b/test/functional/timelog_custom_fields_visibility_test.rb
index cf749c68e..042414315 100644
--- a/test/functional/timelog_custom_fields_visibility_test.rb
+++ b/test/functional/timelog_custom_fields_visibility_test.rb
@@ -20,7 +20,7 @@ require File.expand_path('../../test_helper', __FILE__)
class TimelogCustomFieldsVisibilityTest < Redmine::ControllerTest
tests TimelogController
fixtures :projects,
- :users,
+ :users, :email_addresses,
:roles,
:members,
:member_roles,
@@ -29,7 +29,8 @@ class TimelogCustomFieldsVisibilityTest < Redmine::ControllerTest
:projects_trackers,
:enabled_modules,
:enumerations,
- :workflows
+ :workflows,
+ :custom_fields, :custom_values, :custom_fields_trackers
def setup
field_attributes = {:field_format => 'string', :is_for_all => true, :is_filter => true, :trackers => Tracker.all}
@@ -101,6 +102,7 @@ class TimelogCustomFieldsVisibilityTest < Redmine::ControllerTest
def test_index_with_partial_custom_field_visibility_should_show_visible_custom_fields_only
Issue.delete_all
TimeEntry.delete_all
+ CustomValue.delete_all
p1 = Project.generate!
p2 = Project.generate!
user = User.generate!