mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@17665 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -34,6 +34,7 @@ class UserTest < ActiveSupport::TestCase
|
||||
@admin = User.find(1)
|
||||
@jsmith = User.find(2)
|
||||
@dlopper = User.find(3)
|
||||
User.current = nil
|
||||
end
|
||||
|
||||
def test_admin_scope_without_args_should_return_admin_users
|
||||
|
||||
Reference in New Issue
Block a user