summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-08-20 06:02:05 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-08-20 06:02:05 +0000
commit3ac9d0d75e84f47c8a537fda81b4b9d221fd56f4 (patch)
tree9479acb0ccf3101aedf80d51dddccc777d801173 /test/helpers
parent9d50075279b55d35b4e6f8bb4c3e61a67a1de17d (diff)
downloadredmine-3ac9d0d75e84f47c8a537fda81b4b9d221fd56f4.tar.gz
redmine-3ac9d0d75e84f47c8a537fda81b4b9d221fd56f4.zip
Updates test environment config to mark assertionless tests as failed (#36320).
Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22962 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/application_helper_test.rb1
-rw-r--r--test/helpers/avatars_helper_test.rb1
-rw-r--r--test/helpers/groups_helper_test.rb1
-rw-r--r--test/helpers/issues_helper_test.rb1
-rw-r--r--test/helpers/members_helper_test.rb1
-rw-r--r--test/helpers/projects_helper_test.rb1
-rw-r--r--test/helpers/reports_helper_test.rb1
-rw-r--r--test/helpers/routes_helper_test.rb2
-rw-r--r--test/helpers/version_helper_test.rb1
-rw-r--r--test/helpers/watchers_helper_test.rb1
-rw-r--r--test/helpers/wiki_helper_test.rb1
11 files changed, 0 insertions, 12 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 8cb086f12..82991888d 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -21,7 +21,6 @@ require_relative '../test_helper'
class ApplicationHelperTest < Redmine::HelperTest
include ERB::Util
- include Rails.application.routes.url_helpers
include AvatarsHelper
fixtures :projects, :enabled_modules,
diff --git a/test/helpers/avatars_helper_test.rb b/test/helpers/avatars_helper_test.rb
index 06c4d5993..d9d87dd10 100644
--- a/test/helpers/avatars_helper_test.rb
+++ b/test/helpers/avatars_helper_test.rb
@@ -21,7 +21,6 @@ require_relative '../test_helper'
class AvatarsHelperTest < Redmine::HelperTest
include ERB::Util
- include Rails.application.routes.url_helpers
include AvatarsHelper
fixtures :users, :email_addresses
diff --git a/test/helpers/groups_helper_test.rb b/test/helpers/groups_helper_test.rb
index 6162388a8..66abc9808 100644
--- a/test/helpers/groups_helper_test.rb
+++ b/test/helpers/groups_helper_test.rb
@@ -23,7 +23,6 @@ class GroupsHelperTest < Redmine::HelperTest
include ERB::Util
include GroupsHelper
include AvatarsHelper
- include Rails.application.routes.url_helpers
fixtures :users
diff --git a/test/helpers/issues_helper_test.rb b/test/helpers/issues_helper_test.rb
index c91c47c4a..fd469b986 100644
--- a/test/helpers/issues_helper_test.rb
+++ b/test/helpers/issues_helper_test.rb
@@ -23,7 +23,6 @@ class IssuesHelperTest < Redmine::HelperTest
include IssuesHelper
include CustomFieldsHelper
include ERB::Util
- include Rails.application.routes.url_helpers
fixtures :projects, :trackers, :issue_statuses, :issues,
:enumerations, :users, :issue_categories,
diff --git a/test/helpers/members_helper_test.rb b/test/helpers/members_helper_test.rb
index bae1b58ba..a3120711c 100644
--- a/test/helpers/members_helper_test.rb
+++ b/test/helpers/members_helper_test.rb
@@ -23,7 +23,6 @@ class MembersHelperTest < Redmine::HelperTest
include ERB::Util
include MembersHelper
include AvatarsHelper
- include Rails.application.routes.url_helpers
fixtures :projects, :users, :members, :member_roles,
:trackers, :issue_statuses
diff --git a/test/helpers/projects_helper_test.rb b/test/helpers/projects_helper_test.rb
index b3ca95e95..dc6438bc3 100644
--- a/test/helpers/projects_helper_test.rb
+++ b/test/helpers/projects_helper_test.rb
@@ -22,7 +22,6 @@ require_relative '../test_helper'
class ProjectsHelperTest < Redmine::HelperTest
include ProjectsHelper
include ERB::Util
- include Rails.application.routes.url_helpers
fixtures :projects, :trackers, :issue_statuses, :issues,
:enumerations, :users, :issue_categories,
diff --git a/test/helpers/reports_helper_test.rb b/test/helpers/reports_helper_test.rb
index 88a7aad56..9b3ac8a26 100644
--- a/test/helpers/reports_helper_test.rb
+++ b/test/helpers/reports_helper_test.rb
@@ -21,7 +21,6 @@ require_relative '../test_helper'
class ReportsHlperTest < Redmine::HelperTest
include ReportsHelper
- include Rails.application.routes.url_helpers
fixtures :projects, :users
diff --git a/test/helpers/routes_helper_test.rb b/test/helpers/routes_helper_test.rb
index 4a2427c13..6bca90cf8 100644
--- a/test/helpers/routes_helper_test.rb
+++ b/test/helpers/routes_helper_test.rb
@@ -22,8 +22,6 @@ require_relative '../test_helper'
class RoutesHelperTest < Redmine::HelperTest
fixtures :projects, :issues
- include Rails.application.routes.url_helpers
-
def test_time_entries_path
assert_equal '/projects/ecookbook/time_entries', _time_entries_path(Project.find(1), nil)
assert_equal '/time_entries', _time_entries_path(nil, nil)
diff --git a/test/helpers/version_helper_test.rb b/test/helpers/version_helper_test.rb
index bb083a4e0..19243518e 100644
--- a/test/helpers/version_helper_test.rb
+++ b/test/helpers/version_helper_test.rb
@@ -20,7 +20,6 @@
require_relative '../test_helper'
class VersionsHelperTest < Redmine::HelperTest
- include Rails.application.routes.url_helpers
fixtures :projects, :versions, :enabled_modules,
:users, :members, :roles, :member_roles,
diff --git a/test/helpers/watchers_helper_test.rb b/test/helpers/watchers_helper_test.rb
index 6375c565e..cc413f8fa 100644
--- a/test/helpers/watchers_helper_test.rb
+++ b/test/helpers/watchers_helper_test.rb
@@ -23,7 +23,6 @@ class WatchersHelperTest < Redmine::HelperTest
include WatchersHelper
include AvatarsHelper
include ERB::Util
- include Rails.application.routes.url_helpers
fixtures :users, :issues
diff --git a/test/helpers/wiki_helper_test.rb b/test/helpers/wiki_helper_test.rb
index dfae80b0b..eda1bfe1a 100644
--- a/test/helpers/wiki_helper_test.rb
+++ b/test/helpers/wiki_helper_test.rb
@@ -21,7 +21,6 @@ require_relative '../test_helper'
class WikiHelperTest < Redmine::HelperTest
include WikiHelper
- include Rails.application.routes.url_helpers
fixtures :projects, :users,
:roles, :member_roles, :members,