summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-04 22:22:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-04 22:22:25 +0000
commitcf86eae6bbdc5c00894c5042c42e81b4ba0c7790 (patch)
tree98b49e8d616f7830a5b2bd21fc8aacb2e60a97a3 /test/unit/lib
parente35d036bdae514338d4a499bfaaaf21d06def1b7 (diff)
downloadredmine-cf86eae6bbdc5c00894c5042c42e81b4ba0c7790.tar.gz
redmine-cf86eae6bbdc5c00894c5042c42e81b4ba0c7790.zip
Reset current user to prevent random test failures.
git-svn-id: http://svn.redmine.org/redmine/trunk@14645 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib')
-rw-r--r--test/unit/lib/redmine/i18n_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/i18n_test.rb b/test/unit/lib/redmine/i18n_test.rb
index 90e01bf89..a2b81ab14 100644
--- a/test/unit/lib/redmine/i18n_test.rb
+++ b/test/unit/lib/redmine/i18n_test.rb
@@ -22,7 +22,7 @@ class Redmine::I18nTest < ActiveSupport::TestCase
include ActionView::Helpers::NumberHelper
def setup
- User.current.language = nil
+ User.current = nil
end
def teardown