summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-13 17:51:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-13 17:51:08 +0000
commitfde78164dc619e86fc49ca66d408ebd9ee422876 (patch)
treef2429a5b8ba268d8414e9c064eda8872a5dc533b /test
parent58e3e4e441f86218af9b435b3508a47ace867cc9 (diff)
downloadredmine-fde78164dc619e86fc49ca66d408ebd9ee422876.tar.gz
redmine-fde78164dc619e86fc49ca66d408ebd9ee422876.zip
Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17729 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/attachment_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb
index 2bee67ed2..05abc5c63 100644
--- a/test/unit/attachment_test.rb
+++ b/test/unit/attachment_test.rb
@@ -24,6 +24,7 @@ class AttachmentTest < ActiveSupport::TestCase
:enabled_modules, :issues, :trackers, :attachments
def setup
+ User.current = nil
set_tmp_attachments_directory
end