summaryrefslogtreecommitdiffstats
path: root/test/unit/time_entry_activity_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/time_entry_activity_test.rb')
-rw-r--r--test/unit/time_entry_activity_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/time_entry_activity_test.rb b/test/unit/time_entry_activity_test.rb
index 22a112fe3..14e926425 100644
--- a/test/unit/time_entry_activity_test.rb
+++ b/test/unit/time_entry_activity_test.rb
@@ -30,6 +30,10 @@ class TimeEntryActivityTest < ActiveSupport::TestCase
include Redmine::I18n
+ def setup
+ User.current = nil
+ end
+
def test_should_be_an_enumeration
assert TimeEntryActivity.ancestors.include?(Enumeration)
end