Reset locale to "en" before helpers tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@16232 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-01-19 23:32:04 +00:00
parent 9d747d6811
commit 09f4a7d3f6
15 changed files with 3 additions and 29 deletions

View File

@@ -20,7 +20,6 @@ require File.expand_path('../../../test_helper', __FILE__)
class ProjectsHelperTest < Redmine::HelperTest
include ApplicationHelper
include ProjectsHelper
include Redmine::I18n
include ERB::Util
include Rails.application.routes.url_helpers
@@ -33,11 +32,6 @@ class ProjectsHelperTest < Redmine::HelperTest
:groups_users,
:enabled_modules
def setup
super
set_language_if_valid('en')
end
def test_link_to_version_within_project
@project = Project.find(2)
User.current = User.find(1)