Project

General

Profile

Patch #40506 ยป remove-redundant-application-helper-inclusions-git.diff

Takuya Kodama, 2024-04-01 07:27

View differences:

test/helpers/custom_fields_helper_test.rb
20 20
require_relative '../test_helper'
21 21

  
22 22
class CustomFieldsHelperTest < Redmine::HelperTest
23
  include ApplicationHelper
24 23
  include CustomFieldsHelper
25 24
  include ERB::Util
26 25

  
test/helpers/projects_helper_test.rb
20 20
require_relative '../test_helper'
21 21

  
22 22
class ProjectsHelperTest < Redmine::HelperTest
23
  include ApplicationHelper
24 23
  include ProjectsHelper
25 24
  include ERB::Util
26 25
  include Rails.application.routes.url_helpers
test/unit/lib/redmine/field_format/attachment_format_test.rb
21 21
require 'redmine/field_format'
22 22

  
23 23
class Redmine::AttachmentFieldFormatTest < ActionView::TestCase
24
  include ApplicationHelper
25 24
  include Redmine::I18n
26 25

  
27 26
  fixtures :users
test/unit/lib/redmine/field_format/bool_format_test.rb
21 21
require 'redmine/field_format'
22 22

  
23 23
class Redmine::BoolFieldFormatTest < ActionView::TestCase
24
  include ApplicationHelper
25 24
  include Redmine::I18n
26 25

  
27 26
  def setup
test/unit/lib/redmine/field_format/enumeration_format_test.rb
21 21
require 'redmine/field_format'
22 22

  
23 23
class Redmine::EnumerationFieldFormatTest < ActionView::TestCase
24
  include ApplicationHelper
25

  
26 24
  def setup
27 25
    User.current = nil
28 26
    set_language_if_valid 'en'
test/unit/lib/redmine/field_format/field_format_test.rb
20 20
require_relative '../../../../test_helper'
21 21

  
22 22
class Redmine::FieldFormatTest < ActionView::TestCase
23
  include ApplicationHelper
24

  
25 23
  def setup
26 24
    User.current = nil
27 25
    set_language_if_valid 'en'
test/unit/lib/redmine/field_format/list_format_test.rb
21 21
require 'redmine/field_format'
22 22

  
23 23
class Redmine::ListFieldFormatTest < ActionView::TestCase
24
  include ApplicationHelper
25 24
  include Redmine::I18n
26 25

  
27 26
  def setup
test/unit/lib/redmine/field_format/numeric_format_test.rb
21 21
require 'redmine/field_format'
22 22

  
23 23
class Redmine::NumericFieldFormatTest < ActionView::TestCase
24
  include ApplicationHelper
25

  
26 24
  fixtures :projects, :users, :issue_statuses, :enumerations,
27 25
           :trackers, :projects_trackers, :roles, :member_roles,
28 26
           :members, :enabled_modules
test/unit/lib/redmine/wiki_formatting/macros_test.rb
20 20
require_relative '../../../../test_helper'
21 21

  
22 22
class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
23
  include ApplicationHelper
24 23
  include ActionView::Helpers::TextHelper
25 24
  include ActionView::Helpers::SanitizeHelper
26 25
  include ERB::Util
    (1-1/1)