mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00: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:
parent
b345aa7ad6
commit
1cadb28a6e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user