浏览代码

Use `require_relative` instead of `require File.expand_path(..., __FILE__)` (#38093).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 1年前
父节点
当前提交
1481c721a2
共有 100 个文件被更改,包括 99 次插入99 次删除
  1. 1
    1
      extra/sample_plugin/test/integration/routing_test.rb
  2. 1
    1
      lib/generators/redmine_plugin/templates/test_helper.rb.erb
  3. 1
    1
      lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb
  4. 1
    1
      lib/generators/redmine_plugin_model/templates/unit_test.rb.erb
  5. 1
    1
      lib/redmine/wiki_formatting.rb
  6. 1
    1
      test/application_system_test_case.rb
  7. 1
    1
      test/extra/redmine_pm/repository_git_test_pm.rb
  8. 1
    1
      test/extra/redmine_pm/repository_subversion_test_pm.rb
  9. 1
    1
      test/extra/redmine_pm/test_case.rb
  10. 1
    1
      test/functional/account_controller_test.rb
  11. 1
    1
      test/functional/activities_controller_test.rb
  12. 1
    1
      test/functional/admin_controller_test.rb
  13. 1
    1
      test/functional/application_controller_test.rb
  14. 1
    1
      test/functional/attachments_controller_test.rb
  15. 1
    1
      test/functional/attachments_visibility_test.rb
  16. 1
    1
      test/functional/auth_sources_controller_test.rb
  17. 1
    1
      test/functional/auto_completes_controller_test.rb
  18. 1
    1
      test/functional/boards_controller_test.rb
  19. 1
    1
      test/functional/calendars_controller_test.rb
  20. 1
    1
      test/functional/comments_controller_test.rb
  21. 1
    1
      test/functional/context_menus_controller_test.rb
  22. 1
    1
      test/functional/custom_field_enumerations_controller_test.rb
  23. 1
    1
      test/functional/custom_fields_controller_test.rb
  24. 1
    1
      test/functional/documents_controller_test.rb
  25. 1
    1
      test/functional/email_addresses_controller_test.rb
  26. 1
    1
      test/functional/enumerations_controller_test.rb
  27. 1
    1
      test/functional/files_controller_test.rb
  28. 1
    1
      test/functional/gantts_controller_test.rb
  29. 1
    1
      test/functional/groups_controller_test.rb
  30. 1
    1
      test/functional/imports_controller_test.rb
  31. 1
    1
      test/functional/issue_categories_controller_test.rb
  32. 1
    1
      test/functional/issue_relations_controller_test.rb
  33. 1
    1
      test/functional/issue_statuses_controller_test.rb
  34. 1
    1
      test/functional/issues_controller_test.rb
  35. 1
    1
      test/functional/issues_controller_transaction_test.rb
  36. 1
    1
      test/functional/issues_custom_fields_visibility_test.rb
  37. 1
    1
      test/functional/journals_controller_test.rb
  38. 1
    1
      test/functional/mail_handler_controller_test.rb
  39. 1
    1
      test/functional/members_controller_test.rb
  40. 1
    1
      test/functional/messages_controller_test.rb
  41. 1
    1
      test/functional/my_controller_test.rb
  42. 1
    1
      test/functional/news_controller_test.rb
  43. 1
    1
      test/functional/previews_controller_test.rb
  44. 1
    1
      test/functional/principal_memberships_controller_test.rb
  45. 1
    1
      test/functional/project_enumerations_controller_test.rb
  46. 1
    1
      test/functional/projects_controller_test.rb
  47. 1
    1
      test/functional/queries_controller_test.rb
  48. 1
    1
      test/functional/reports_controller_test.rb
  49. 1
    1
      test/functional/repositories_bazaar_controller_test.rb
  50. 1
    1
      test/functional/repositories_controller_test.rb
  51. 1
    1
      test/functional/repositories_cvs_controller_test.rb
  52. 1
    1
      test/functional/repositories_filesystem_controller_test.rb
  53. 1
    1
      test/functional/repositories_git_controller_test.rb
  54. 1
    1
      test/functional/repositories_mercurial_controller_test.rb
  55. 1
    1
      test/functional/repositories_subversion_controller_test.rb
  56. 1
    1
      test/functional/roles_controller_test.rb
  57. 1
    1
      test/functional/search_controller_test.rb
  58. 1
    1
      test/functional/search_custom_fields_visibility_test.rb
  59. 1
    1
      test/functional/sessions_controller_test.rb
  60. 1
    1
      test/functional/settings_controller_test.rb
  61. 1
    1
      test/functional/sys_controller_test.rb
  62. 1
    1
      test/functional/timelog_controller_test.rb
  63. 1
    1
      test/functional/timelog_custom_fields_visibility_test.rb
  64. 1
    1
      test/functional/timelog_report_test.rb
  65. 1
    1
      test/functional/trackers_controller_test.rb
  66. 1
    1
      test/functional/users_controller_test.rb
  67. 1
    1
      test/functional/versions_controller_test.rb
  68. 1
    1
      test/functional/versions_custom_fields_visibility_test.rb
  69. 1
    1
      test/functional/watchers_controller_test.rb
  70. 1
    1
      test/functional/welcome_controller_test.rb
  71. 1
    1
      test/functional/wiki_controller_test.rb
  72. 1
    1
      test/functional/wikis_controller_test.rb
  73. 1
    1
      test/functional/workflows_controller_test.rb
  74. 1
    1
      test/helpers/activities_helper_test.rb
  75. 1
    1
      test/helpers/application_helper_test.rb
  76. 1
    1
      test/helpers/avatars_helper_test.rb
  77. 1
    1
      test/helpers/custom_fields_helper_test.rb
  78. 1
    1
      test/helpers/groups_helper_test.rb
  79. 1
    1
      test/helpers/issues_helper_test.rb
  80. 1
    1
      test/helpers/journals_helper_test.rb
  81. 1
    1
      test/helpers/members_helper_test.rb
  82. 1
    1
      test/helpers/projects_helper_test.rb
  83. 1
    1
      test/helpers/projects_queries_helper_test.rb
  84. 1
    1
      test/helpers/queries_helper_test.rb
  85. 1
    1
      test/helpers/reports_helper_test.rb
  86. 1
    1
      test/helpers/routes_helper_test.rb
  87. 1
    1
      test/helpers/search_helper_test.rb
  88. 1
    1
      test/helpers/settings_helper_test.rb
  89. 1
    1
      test/helpers/sort_helper_test.rb
  90. 1
    1
      test/helpers/timelog_helper_test.rb
  91. 1
    1
      test/helpers/version_helper_test.rb
  92. 1
    1
      test/helpers/watchers_helper_test.rb
  93. 1
    1
      test/helpers/wiki_helper_test.rb
  94. 1
    1
      test/integration/account_test.rb
  95. 1
    1
      test/integration/admin_test.rb
  96. 1
    1
      test/integration/api_test/api_routing_test.rb
  97. 1
    1
      test/integration/api_test/api_test.rb
  98. 1
    1
      test/integration/api_test/attachments_test.rb
  99. 1
    1
      test/integration/api_test/authentication_test.rb
  100. 0
    0
      test/integration/api_test/custom_fields_attribute_test.rb

+ 1
- 1
extra/sample_plugin/test/integration/routing_test.rb 查看文件

@@ -1,4 +1,4 @@
require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper')
require_relative '../../../../test/test_helper'

class SamplePluginRoutingTest < ActionDispatch::IntegrationTest
def test_example

+ 1
- 1
lib/generators/redmine_plugin/templates/test_helper.rb.erb 查看文件

@@ -1,2 +1,2 @@
# Load the Redmine helper
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')
require_relative '../../../test/test_helper'

+ 1
- 1
lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb 查看文件

@@ -1,4 +1,4 @@
require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class <%= @controller_class %>ControllerTest < ActionController::TestCase
# Replace this with your real tests.

+ 1
- 1
lib/generators/redmine_plugin_model/templates/unit_test.rb.erb 查看文件

@@ -1,4 +1,4 @@
require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class <%= @model_class %>Test < ActiveSupport::TestCase


+ 1
- 1
lib/redmine/wiki_formatting.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../wiki_formatting/textile/redcloth3', __FILE__)
require_relative 'wiki_formatting/textile/redcloth3'
require 'digest/md5'

module Redmine

+ 1
- 1
test/application_system_test_case.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../test_helper', __FILE__)
require_relative 'test_helper'
require 'webdrivers/chromedriver'

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase

+ 1
- 1
test/extra/redmine_pm/repository_git_test_pm.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../test_case', __FILE__)
require_relative 'test_case'
require 'tmpdir'

class RedminePmTest::RepositoryGitTest < RedminePmTest::TestCase

+ 1
- 1
test/extra/redmine_pm/repository_subversion_test_pm.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../test_case', __FILE__)
require_relative 'test_case'
require 'tmpdir'

class RedminePmTest::RepositorySubversionTest < RedminePmTest::TestCase

+ 1
- 1
test/extra/redmine_pm/test_case.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../../test_helper', __FILE__)
require_relative '../../test_helper'

module RedminePmTest
class TestCase < ActiveSupport::TestCase

+ 1
- 1
test/functional/account_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AccountControllerTest < Redmine::ControllerTest
fixtures :users, :email_addresses, :roles

+ 1
- 1
test/functional/activities_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ActivitiesControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/functional/admin_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AdminControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :email_addresses, :roles

+ 1
- 1
test/functional/application_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ApplicationControllerTest < Redmine::ControllerTest
def test_back_url_should_remove_utf8_checkmark_from_referer

+ 1
- 1
test/functional/attachments_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AttachmentsControllerTest < Redmine::ControllerTest
fixtures :users, :user_preferences, :projects, :roles, :members, :member_roles,

+ 1
- 1
test/functional/attachments_visibility_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AttachmentsVisibilityTest < Redmine::ControllerTest
tests AttachmentsController

+ 1
- 1
test/functional/auth_sources_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AuthSourcesControllerTest < Redmine::ControllerTest
fixtures :users, :auth_sources

+ 1
- 1
test/functional/auto_completes_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AutoCompletesControllerTest < Redmine::ControllerTest
fixtures :projects, :issues, :issue_statuses,

+ 1
- 1
test/functional/boards_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class BoardsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :members, :member_roles, :roles, :boards, :messages, :enabled_modules

+ 1
- 1
test/functional/calendars_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class CalendarsControllerTest < Redmine::ControllerTest
fixtures :projects,

+ 1
- 1
test/functional/comments_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class CommentsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, :enabled_modules, :news, :comments

+ 1
- 1
test/functional/context_menus_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ContextMenusControllerTest < Redmine::ControllerTest
fixtures :projects,

+ 1
- 1
test/functional/custom_field_enumerations_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class CustomFieldEnumerationsControllerTest < Redmine::ControllerTest
fixtures :users, :email_addresses

+ 1
- 1
test/functional/custom_fields_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class CustomFieldsControllerTest < Redmine::ControllerTest
fixtures :custom_fields, :custom_values,

+ 1
- 1
test/functional/documents_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class DocumentsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles,

+ 1
- 1
test/functional/email_addresses_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class EmailAddressesControllerTest < Redmine::ControllerTest
fixtures :users, :email_addresses

+ 1
- 1
test/functional/enumerations_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class EnumerationsControllerTest < Redmine::ControllerTest
fixtures :enumerations, :issues, :users

+ 1
- 1
test/functional/files_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class FilesControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/functional/gantts_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class GanttsControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/functional/groups_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class GroupsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :members, :member_roles, :roles, :groups_users

+ 1
- 1
test/functional/imports_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ImportsControllerTest < Redmine::ControllerTest
fixtures :projects, :enabled_modules,

+ 1
- 1
test/functional/issue_categories_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class IssueCategoriesControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :members, :member_roles, :roles, :enabled_modules, :issue_categories,

+ 1
- 1
test/functional/issue_relations_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class IssueRelationsControllerTest < Redmine::ControllerTest
fixtures :projects,

+ 1
- 1
test/functional/issue_statuses_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class IssueStatusesControllerTest < Redmine::ControllerTest
fixtures :issue_statuses, :issues, :users, :trackers, :workflows

+ 1
- 1
test/functional/issues_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class IssuesControllerTest < Redmine::ControllerTest
fixtures :projects,

+ 1
- 1
test/functional/issues_controller_transaction_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'
require 'issues_controller'

class IssuesControllerTransactionTest < Redmine::ControllerTest

+ 1
- 1
test/functional/issues_custom_fields_visibility_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest
tests IssuesController

+ 1
- 1
test/functional/journals_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class JournalsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :members, :member_roles, :roles,

+ 1
- 1
test/functional/mail_handler_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class MailHandlerControllerTest < Redmine::ControllerTest
fixtures :users, :email_addresses, :projects, :enabled_modules,

+ 1
- 1
test/functional/members_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class MembersControllerTest < Redmine::ControllerTest
fixtures :projects, :members, :member_roles, :roles, :users

+ 1
- 1
test/functional/messages_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class MessagesControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :email_addresses, :user_preferences, :members, :member_roles, :roles, :boards, :messages, :enabled_modules,

+ 1
- 1
test/functional/my_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class MyControllerTest < Redmine::ControllerTest
fixtures :users, :email_addresses, :user_preferences,

+ 1
- 1
test/functional/news_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class NewsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles,

+ 1
- 1
test/functional/previews_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class PreviewsControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/functional/principal_memberships_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class PrincipalMembershipsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :members, :member_roles, :roles, :groups_users

+ 1
- 1
test/functional/project_enumerations_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ProjectEnumerationsControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/functional/projects_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ProjectsControllerTest < Redmine::ControllerTest
fixtures :projects, :versions, :users, :email_addresses, :roles, :members,

+ 1
- 1
test/functional/queries_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class QueriesControllerTest < Redmine::ControllerTest
fixtures :projects, :enabled_modules,

+ 1
- 1
test/functional/reports_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ReportsControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/functional/repositories_bazaar_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RepositoriesBazaarControllerTest < Redmine::RepositoryControllerTest
tests RepositoriesController

+ 1
- 1
test/functional/repositories_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RepositoriesControllerTest < Redmine::RepositoryControllerTest
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, :enabled_modules,

+ 1
- 1
test/functional/repositories_cvs_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RepositoriesCvsControllerTest < Redmine::RepositoryControllerTest
tests RepositoriesController

+ 1
- 1
test/functional/repositories_filesystem_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RepositoriesFilesystemControllerTest < Redmine::RepositoryControllerTest
tests RepositoriesController

+ 1
- 1
test/functional/repositories_git_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
tests RepositoriesController

+ 1
- 1
test/functional/repositories_mercurial_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RepositoriesMercurialControllerTest < Redmine::RepositoryControllerTest
tests RepositoriesController

+ 1
- 1
test/functional/repositories_subversion_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest
tests RepositoriesController

+ 1
- 1
test/functional/roles_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RolesControllerTest < Redmine::ControllerTest
fixtures :roles, :users, :members, :member_roles, :workflows, :trackers

+ 1
- 1
test/functional/search_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SearchControllerTest < Redmine::ControllerTest
fixtures :projects, :projects_trackers,

+ 1
- 1
test/functional/search_custom_fields_visibility_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SearchCustomFieldsVisibilityTest < Redmine::ControllerTest
tests SearchController

+ 1
- 1
test/functional/sessions_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SessionsControllerTest < Redmine::ControllerTest
include Redmine::I18n

+ 1
- 1
test/functional/settings_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SettingsControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/functional/sys_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SysControllerTest < Redmine::ControllerTest
fixtures :projects, :repositories, :enabled_modules

+ 1
- 1
test/functional/timelog_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class TimelogControllerTest < Redmine::ControllerTest
fixtures :projects, :enabled_modules, :roles, :members,

+ 1
- 1
test/functional/timelog_custom_fields_visibility_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class TimelogCustomFieldsVisibilityTest < Redmine::ControllerTest
tests TimelogController

+ 1
- 1
test/functional/timelog_report_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class TimelogReportTest < Redmine::ControllerTest
tests TimelogController

+ 1
- 1
test/functional/trackers_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class TrackersControllerTest < Redmine::ControllerTest
fixtures :trackers, :projects, :projects_trackers, :users, :issues, :custom_fields, :issue_statuses

+ 1
- 1
test/functional/users_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class UsersControllerTest < Redmine::ControllerTest
include Redmine::I18n

+ 1
- 1
test/functional/versions_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class VersionsControllerTest < Redmine::ControllerTest
fixtures :projects, :enabled_modules,

+ 1
- 1
test/functional/versions_custom_fields_visibility_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class VersionsCustomFieldsVisibilityTest < Redmine::ControllerTest
tests VersionsController

+ 1
- 1
test/functional/watchers_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class WatchersControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules,

+ 1
- 1
test/functional/welcome_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class WelcomeControllerTest < Redmine::ControllerTest
fixtures :projects, :news, :users, :members, :roles, :member_roles, :enabled_modules

+ 1
- 1
test/functional/wiki_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class WikiControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles,

+ 1
- 1
test/functional/wikis_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class WikisControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :wikis

+ 1
- 1
test/functional/workflows_controller_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class WorkflowsControllerTest < Redmine::ControllerTest
fixtures :roles, :trackers, :workflows, :users, :issue_statuses, :custom_fields

+ 1
- 1
test/helpers/activities_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ActivitiesHelperTest < Redmine::HelperTest
include ActivitiesHelper

+ 1
- 1
test/helpers/application_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ApplicationHelperTest < Redmine::HelperTest
include ERB::Util

+ 1
- 1
test/helpers/avatars_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AvatarsHelperTest < Redmine::HelperTest
include ERB::Util

+ 1
- 1
test/helpers/custom_fields_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class CustomFieldsHelperTest < Redmine::HelperTest
include ApplicationHelper

+ 1
- 1
test/helpers/groups_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class GroupsHelperTest < Redmine::HelperTest
include ERB::Util

+ 1
- 1
test/helpers/issues_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class IssuesHelperTest < Redmine::HelperTest
include IssuesHelper

+ 1
- 1
test/helpers/journals_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class JournalsHelperTest < Redmine::HelperTest
include JournalsHelper

+ 1
- 1
test/helpers/members_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class MembersHelperTest < Redmine::HelperTest
include ERB::Util

+ 1
- 1
test/helpers/projects_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ProjectsHelperTest < Redmine::HelperTest
include ApplicationHelper

+ 1
- 1
test/helpers/projects_queries_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ProjectsQueriesHelperTest < Redmine::HelperTest
include ProjectsQueriesHelper

+ 1
- 1
test/helpers/queries_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class QueriesHelperTest < Redmine::HelperTest
include QueriesHelper

+ 1
- 1
test/helpers/reports_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class ReportsHlperTest < Redmine::HelperTest
include ReportsHelper

+ 1
- 1
test/helpers/routes_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class RoutesHelperTest < Redmine::HelperTest
fixtures :projects, :issues

+ 1
- 1
test/helpers/search_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SearchHelperTest < Redmine::HelperTest
include SearchHelper

+ 1
- 1
test/helpers/settings_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SettingsHelperTest < Redmine::HelperTest
include SettingsHelper

+ 1
- 1
test/helpers/sort_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class SortHelperTest < Redmine::HelperTest
include SortHelper

+ 1
- 1
test/helpers/timelog_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class TimelogHelperTest < Redmine::HelperTest
include TimelogHelper

+ 1
- 1
test/helpers/version_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class VersionsHelperTest < Redmine::HelperTest
include Rails.application.routes.url_helpers

+ 1
- 1
test/helpers/watchers_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class WatchersHelperTest < Redmine::HelperTest
include WatchersHelper

+ 1
- 1
test/helpers/wiki_helper_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class WikiHelperTest < Redmine::HelperTest
include WikiHelper

+ 1
- 1
test/integration/account_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AccountTest < Redmine::IntegrationTest
fixtures :users, :email_addresses, :roles

+ 1
- 1
test/integration/admin_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../test_helper', __FILE__)
require_relative '../test_helper'

class AdminTest < Redmine::IntegrationTest
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/integration/api_test/api_routing_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../../test_helper', __FILE__)
require_relative '../../test_helper'

class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing


+ 1
- 1
test/integration/api_test/api_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../../test_helper', __FILE__)
require_relative '../../test_helper'

class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base
fixtures :users, :email_addresses, :members, :member_roles, :roles, :projects

+ 1
- 1
test/integration/api_test/attachments_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../../test_helper', __FILE__)
require_relative '../../test_helper'

class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base
fixtures :projects, :trackers, :issue_statuses, :issues,

+ 1
- 1
test/integration/api_test/authentication_test.rb 查看文件

@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

require File.expand_path('../../../test_helper', __FILE__)
require_relative '../../test_helper'

class Redmine::ApiTest::AuthenticationTest < Redmine::ApiTest::Base
fixtures :users

+ 0
- 0
test/integration/api_test/custom_fields_attribute_test.rb 查看文件


部分文件因为文件数量过多而无法显示

正在加载...
取消
保存