Commit efbe1550 authored by maeda's avatar maeda

Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.


git-svn-id: https://svn.redmine.org/redmine/trunk@17688 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a09b7719
......@@ -22,6 +22,10 @@ class CustomFieldTest < ActiveSupport::TestCase
:trackers, :issue_statuses,
:issues
def setup
User.current = nil
end
def test_create
field = UserCustomField.new(:name => 'Money money money', :field_format => 'float')
assert field.save
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment