mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 01:06:00 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user