diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-20 13:35:57 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-20 13:35:57 +0000 |
commit | 49fdc5556bc3f2c7206180f5e194a87cd1e8edf7 (patch) | |
tree | 92333ebe1d35a7182c370e538c348369c82a6fcc /test/unit | |
parent | d4915f0635d8c229f225e3e8927099316a4a1a1d (diff) | |
download | redmine-49fdc5556bc3f2c7206180f5e194a87cd1e8edf7.tar.gz redmine-49fdc5556bc3f2c7206180f5e194a87cd1e8edf7.zip |
Set locale for error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13772 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/issue_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 5352fb790..2ac08cec3 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -31,6 +31,10 @@ class IssueTest < ActiveSupport::TestCase include Redmine::I18n + def setup + set_language_if_valid 'en' + end + def teardown User.current = nil end |