summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
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/unit/lib
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/unit/lib')
-rw-r--r--test/unit/lib/redmine/helpers/gantt_test.rb1
-rw-r--r--test/unit/lib/redmine/menu_manager/menu_helper_test.rb1
-rw-r--r--test/unit/lib/redmine/views/labelled_form_builder_test.rb1
-rw-r--r--test/unit/lib/redmine/wiki_formatting/common_mark/application_helper_test.rb1
-rw-r--r--test/unit/lib/redmine/wiki_formatting/macros_test.rb1
5 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb
index 25aebbcaf..d485518a3 100644
--- a/test/unit/lib/redmine/helpers/gantt_test.rb
+++ b/test/unit/lib/redmine/helpers/gantt_test.rb
@@ -29,7 +29,6 @@ class Redmine::Helpers::GanttHelperTest < Redmine::HelperTest
include AvatarsHelper
include ERB::Util
- include Rails.application.routes.url_helpers
def setup
setup_with_controller
diff --git a/test/unit/lib/redmine/menu_manager/menu_helper_test.rb b/test/unit/lib/redmine/menu_manager/menu_helper_test.rb
index 6cdc4b11e..3d9570182 100644
--- a/test/unit/lib/redmine/menu_manager/menu_helper_test.rb
+++ b/test/unit/lib/redmine/menu_manager/menu_helper_test.rb
@@ -22,7 +22,6 @@ require_relative '../../../../test_helper'
class Redmine::MenuManager::MenuHelperTest < Redmine::HelperTest
include Redmine::MenuManager::MenuHelper
include ERB::Util
- include Rails.application.routes.url_helpers
fixtures :users, :members, :projects, :enabled_modules, :roles, :member_roles
diff --git a/test/unit/lib/redmine/views/labelled_form_builder_test.rb b/test/unit/lib/redmine/views/labelled_form_builder_test.rb
index e7701c4bc..27ab456ff 100644
--- a/test/unit/lib/redmine/views/labelled_form_builder_test.rb
+++ b/test/unit/lib/redmine/views/labelled_form_builder_test.rb
@@ -20,7 +20,6 @@
require_relative '../../../../test_helper'
class Redmine::Views::LabelledFormBuilderTest < Redmine::HelperTest
- include Rails.application.routes.url_helpers
def test_label_should_output_one_element
set_language_if_valid 'en'
diff --git a/test/unit/lib/redmine/wiki_formatting/common_mark/application_helper_test.rb b/test/unit/lib/redmine/wiki_formatting/common_mark/application_helper_test.rb
index c198f64cd..7b5915f7d 100644
--- a/test/unit/lib/redmine/wiki_formatting/common_mark/application_helper_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/common_mark/application_helper_test.rb
@@ -23,7 +23,6 @@ class Redmine::WikiFormatting::CommonMark::ApplicationHelperTest < Redmine::Help
if Object.const_defined?(:CommonMarker)
include ERB::Util
- include Rails.application.routes.url_helpers
fixtures :projects, :enabled_modules,
:users, :email_addresses,
diff --git a/test/unit/lib/redmine/wiki_formatting/macros_test.rb b/test/unit/lib/redmine/wiki_formatting/macros_test.rb
index b385de6fc..782354039 100644
--- a/test/unit/lib/redmine/wiki_formatting/macros_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/macros_test.rb
@@ -23,7 +23,6 @@ class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
include ActionView::Helpers::TextHelper
include ActionView::Helpers::SanitizeHelper
include ERB::Util
- include Rails.application.routes.url_helpers
extend ActionView::Helpers::SanitizeHelper::ClassMethods
fixtures :projects, :roles, :enabled_modules, :users,