mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-07 08:01:31 +00:00
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@17671 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f0050f04b1
commit
6309131c13
@ -39,6 +39,7 @@ class ProjectCopyTest < ActiveSupport::TestCase
|
||||
:documents
|
||||
|
||||
def setup
|
||||
User.current = nil
|
||||
ProjectCustomField.destroy_all
|
||||
@source_project = Project.find(2)
|
||||
@project = Project.new(:name => 'Copy Test', :identifier => 'copy-test')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user