summaryrefslogtreecommitdiffstats
path: root/test/unit/group_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/group_test.rb')
-rw-r--r--test/unit/group_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb
index 8756f31e7..f706826ce 100644
--- a/test/unit/group_test.rb
+++ b/test/unit/group_test.rb
@@ -28,6 +28,10 @@ class GroupTest < ActiveSupport::TestCase
include Redmine::I18n
+ def setup
+ User.current = nil
+ end
+
def test_create
g = Group.new(:name => 'New group')
assert g.save