summaryrefslogtreecommitdiffstats
path: root/test/unit/watcher_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/watcher_test.rb')
-rw-r--r--test/unit/watcher_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/watcher_test.rb b/test/unit/watcher_test.rb
index c1184813b..a5acbf9d1 100644
--- a/test/unit/watcher_test.rb
+++ b/test/unit/watcher_test.rb
@@ -25,6 +25,7 @@ class WatcherTest < ActiveSupport::TestCase
:watchers
def setup
+ User.current = nil
@user = User.find(1)
@issue = Issue.find(1)
end