diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/attachments_visibility_test.rb | 3 | ||||
-rw-r--r-- | test/unit/lib/redmine/field_format/user_field_format_test.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/attachments_visibility_test.rb b/test/functional/attachments_visibility_test.rb index 2f9197e6b..c4b8aec0b 100644 --- a/test/functional/attachments_visibility_test.rb +++ b/test/functional/attachments_visibility_test.rb @@ -23,7 +23,8 @@ class AttachmentsVisibilityTest < Redmine::ControllerTest tests AttachmentsController fixtures :users, :email_addresses, :projects, :roles, :members, :member_roles, :enabled_modules, :projects_trackers, :issue_statuses, :enumerations, - :issues, :trackers, :versions + :issues, :trackers, :versions, + :custom_fields, :custom_fields_trackers, :custom_fields_projects def setup User.current = nil diff --git a/test/unit/lib/redmine/field_format/user_field_format_test.rb b/test/unit/lib/redmine/field_format/user_field_format_test.rb index 7c726957f..2612bb475 100644 --- a/test/unit/lib/redmine/field_format/user_field_format_test.rb +++ b/test/unit/lib/redmine/field_format/user_field_format_test.rb @@ -22,7 +22,8 @@ class Redmine::UserFieldFormatTest < ActionView::TestCase fixtures :projects, :roles, :users, :members, :member_roles, :trackers, :issue_statuses, :issue_categories, :issue_relations, :workflows, - :enumerations + :enumerations, + :custom_fields, :custom_fields_trackers, :custom_fields_projects def test_user_role_should_reject_blank_values field = IssueCustomField.new(:name => 'Foo', :field_format => 'user', :user_role => ["1", ""]) |