summaryrefslogtreecommitdiffstats
path: root/test/unit/custom_field_user_format_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/custom_field_user_format_test.rb')
-rw-r--r--test/unit/custom_field_user_format_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/custom_field_user_format_test.rb b/test/unit/custom_field_user_format_test.rb
index 8827e9737..a3d161de3 100644
--- a/test/unit/custom_field_user_format_test.rb
+++ b/test/unit/custom_field_user_format_test.rb
@@ -21,6 +21,7 @@ class CustomFieldUserFormatTest < ActiveSupport::TestCase
fixtures :custom_fields, :projects, :members, :users, :member_roles, :trackers, :issues
def setup
+ User.current = nil
@field = IssueCustomField.create!(:name => 'Tester', :field_format => 'user')
end