mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-01 05:09:40 +00:00
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@17688 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c9cf695ad7
commit
91f788854d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user