summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-05 07:00:36 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-05 07:00:36 +0000
commitbc4cc0a14a21ee05ab38e240559f1601dba90381 (patch)
treebf395c2addb551d107de36ab38e972c318f0f5e1 /test/unit/repository_test.rb
parenta14ff53ee5b6be2727998786832e93ced15f8a6d (diff)
downloadredmine-bc4cc0a14a21ee05ab38e240559f1601dba90381.tar.gz
redmine-bc4cc0a14a21ee05ab38e240559f1601dba90381.zip
Merged r17761 from trunk to 3.4-stable (#32022).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@18433 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_test.rb')
-rw-r--r--test/unit/repository_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb
index 859b5ca43..476e4a841 100644
--- a/test/unit/repository_test.rb
+++ b/test/unit/repository_test.rb
@@ -38,6 +38,7 @@ class RepositoryTest < ActiveSupport::TestCase
include Redmine::I18n
def setup
+ User.current = nil
@repository = Project.find(1).repository
end