From dbe7d6fbfb5b67ff2ce72d2dfd1d06db6f488f82 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 11 Feb 2013 20:14:26 +0000 Subject: [PATCH] Removed unused fixtures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11352 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/activities_controller_test.rb | 1 - test/functional/auto_completes_controller_test.rb | 1 - test/functional/files_controller_test.rb | 1 - test/functional/gantts_controller_test.rb | 1 - test/functional/previews_controller_test.rb | 1 - test/functional/project_enumerations_controller_test.rb | 1 - test/functional/reports_controller_test.rb | 1 - test/integration/admin_test.rb | 3 +-- test/integration/api_test/attachments_test.rb | 1 - test/integration/api_test/disabled_rest_api_test.rb | 3 +-- test/integration/api_test/http_basic_login_test.rb | 3 +-- .../api_test/http_basic_login_with_api_token_test.rb | 3 +-- test/integration/api_test/issue_relations_test.rb | 1 - test/integration/api_test/news_test.rb | 1 - test/integration/api_test/queries_test.rb | 1 - test/integration/api_test/time_entries_test.rb | 1 - test/integration/api_test/token_authentication_test.rb | 3 +-- test/integration/api_test/versions_test.rb | 1 - test/integration/application_test.rb | 3 +-- test/integration/layout_test.rb | 3 +-- test/integration/lib/redmine/menu_manager_test.rb | 3 +-- test/unit/lib/redmine/helpers/gantt_test.rb | 1 - test/unit/lib/redmine/hook_test.rb | 2 +- 23 files changed, 9 insertions(+), 31 deletions(-) diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb index bc124ba07..4866e227a 100644 --- a/test/functional/activities_controller_test.rb +++ b/test/functional/activities_controller_test.rb @@ -26,7 +26,6 @@ class ActivitiesControllerTest < ActionController::TestCase :members, :groups_users, :enabled_modules, - :workflows, :journals, :journal_details diff --git a/test/functional/auto_completes_controller_test.rb b/test/functional/auto_completes_controller_test.rb index e9e99def5..5025be387 100644 --- a/test/functional/auto_completes_controller_test.rb +++ b/test/functional/auto_completes_controller_test.rb @@ -26,7 +26,6 @@ class AutoCompletesControllerTest < ActionController::TestCase :member_roles, :members, :enabled_modules, - :workflows, :journals, :journal_details def test_issues_should_not_be_case_sensitive diff --git a/test/functional/files_controller_test.rb b/test/functional/files_controller_test.rb index 631ac455f..0cdb64057 100644 --- a/test/functional/files_controller_test.rb +++ b/test/functional/files_controller_test.rb @@ -25,7 +25,6 @@ class FilesControllerTest < ActionController::TestCase :member_roles, :members, :enabled_modules, - :workflows, :journals, :journal_details, :attachments, :versions diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb index e0d20473c..858340448 100644 --- a/test/functional/gantts_controller_test.rb +++ b/test/functional/gantts_controller_test.rb @@ -25,7 +25,6 @@ class GanttsControllerTest < ActionController::TestCase :member_roles, :members, :enabled_modules, - :workflows, :versions def test_gantt_should_work diff --git a/test/functional/previews_controller_test.rb b/test/functional/previews_controller_test.rb index ff6a5e08a..f99ccb401 100644 --- a/test/functional/previews_controller_test.rb +++ b/test/functional/previews_controller_test.rb @@ -25,7 +25,6 @@ class PreviewsControllerTest < ActionController::TestCase :member_roles, :members, :enabled_modules, - :workflows, :journals, :journal_details, :news diff --git a/test/functional/project_enumerations_controller_test.rb b/test/functional/project_enumerations_controller_test.rb index 3b7097432..a41d22948 100644 --- a/test/functional/project_enumerations_controller_test.rb +++ b/test/functional/project_enumerations_controller_test.rb @@ -25,7 +25,6 @@ class ProjectEnumerationsControllerTest < ActionController::TestCase :member_roles, :members, :enabled_modules, - :workflows, :custom_fields, :custom_fields_projects, :custom_fields_trackers, :custom_values, :time_entries diff --git a/test/functional/reports_controller_test.rb b/test/functional/reports_controller_test.rb index 5115c319c..56a1aca3f 100644 --- a/test/functional/reports_controller_test.rb +++ b/test/functional/reports_controller_test.rb @@ -25,7 +25,6 @@ class ReportsControllerTest < ActionController::TestCase :member_roles, :members, :enabled_modules, - :workflows, :versions def test_get_issue_report diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb index 589c2a13b..cd37c1f67 100644 --- a/test/integration/admin_test.rb +++ b/test/integration/admin_test.rb @@ -24,8 +24,7 @@ class AdminTest < ActionController::IntegrationTest :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules def test_add_user log_user("admin", "admin") diff --git a/test/integration/api_test/attachments_test.rb b/test/integration/api_test/attachments_test.rb index 1b73fa300..af2f063fa 100644 --- a/test/integration/api_test/attachments_test.rb +++ b/test/integration/api_test/attachments_test.rb @@ -25,7 +25,6 @@ class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base :member_roles, :members, :enabled_modules, - :workflows, :attachments def setup diff --git a/test/integration/api_test/disabled_rest_api_test.rb b/test/integration/api_test/disabled_rest_api_test.rb index 22bf85fc1..c29094aa9 100644 --- a/test/integration/api_test/disabled_rest_api_test.rb +++ b/test/integration/api_test/disabled_rest_api_test.rb @@ -24,8 +24,7 @@ class Redmine::ApiTest::DisabledRestApiTest < Redmine::ApiTest::Base :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules def setup Setting.rest_api_enabled = '0' diff --git a/test/integration/api_test/http_basic_login_test.rb b/test/integration/api_test/http_basic_login_test.rb index 78ade825c..e88d097ee 100644 --- a/test/integration/api_test/http_basic_login_test.rb +++ b/test/integration/api_test/http_basic_login_test.rb @@ -24,8 +24,7 @@ class Redmine::ApiTest::HttpBasicLoginTest < Redmine::ApiTest::Base :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules def setup Setting.rest_api_enabled = '1' diff --git a/test/integration/api_test/http_basic_login_with_api_token_test.rb b/test/integration/api_test/http_basic_login_with_api_token_test.rb index 91fa9775c..77c5dab79 100644 --- a/test/integration/api_test/http_basic_login_with_api_token_test.rb +++ b/test/integration/api_test/http_basic_login_with_api_token_test.rb @@ -24,8 +24,7 @@ class Redmine::ApiTest::HttpBasicLoginWithApiTokenTest < Redmine::ApiTest::Base :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules def setup Setting.rest_api_enabled = '1' diff --git a/test/integration/api_test/issue_relations_test.rb b/test/integration/api_test/issue_relations_test.rb index 5a0873ca1..72c690e6a 100644 --- a/test/integration/api_test/issue_relations_test.rb +++ b/test/integration/api_test/issue_relations_test.rb @@ -25,7 +25,6 @@ class Redmine::ApiTest::IssueRelationsTest < Redmine::ApiTest::Base :member_roles, :members, :enabled_modules, - :workflows, :issue_relations def setup diff --git a/test/integration/api_test/news_test.rb b/test/integration/api_test/news_test.rb index fda274e00..41be26260 100644 --- a/test/integration/api_test/news_test.rb +++ b/test/integration/api_test/news_test.rb @@ -25,7 +25,6 @@ class Redmine::ApiTest::NewsTest < Redmine::ApiTest::Base :member_roles, :members, :enabled_modules, - :workflows, :news def setup diff --git a/test/integration/api_test/queries_test.rb b/test/integration/api_test/queries_test.rb index 06d9f189d..57e8f6659 100644 --- a/test/integration/api_test/queries_test.rb +++ b/test/integration/api_test/queries_test.rb @@ -25,7 +25,6 @@ class Redmine::ApiTest::QueriesTest < Redmine::ApiTest::Base :member_roles, :members, :enabled_modules, - :workflows, :queries def setup diff --git a/test/integration/api_test/time_entries_test.rb b/test/integration/api_test/time_entries_test.rb index c47d8dea4..4c87a57b6 100644 --- a/test/integration/api_test/time_entries_test.rb +++ b/test/integration/api_test/time_entries_test.rb @@ -25,7 +25,6 @@ class Redmine::ApiTest::TimeEntriesTest < Redmine::ApiTest::Base :member_roles, :members, :enabled_modules, - :workflows, :time_entries def setup diff --git a/test/integration/api_test/token_authentication_test.rb b/test/integration/api_test/token_authentication_test.rb index 617da7eda..a20f1bbb6 100644 --- a/test/integration/api_test/token_authentication_test.rb +++ b/test/integration/api_test/token_authentication_test.rb @@ -24,8 +24,7 @@ class Redmine::ApiTest::TokenAuthenticationTest < Redmine::ApiTest::Base :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules def setup Setting.rest_api_enabled = '1' diff --git a/test/integration/api_test/versions_test.rb b/test/integration/api_test/versions_test.rb index a34ca89df..8be37534a 100644 --- a/test/integration/api_test/versions_test.rb +++ b/test/integration/api_test/versions_test.rb @@ -25,7 +25,6 @@ class Redmine::ApiTest::VersionsTest < Redmine::ApiTest::Base :member_roles, :members, :enabled_modules, - :workflows, :versions def setup diff --git a/test/integration/application_test.rb b/test/integration/application_test.rb index 0fcfabac1..409dcfd22 100644 --- a/test/integration/application_test.rb +++ b/test/integration/application_test.rb @@ -26,8 +26,7 @@ class ApplicationTest < ActionController::IntegrationTest :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules def test_set_localization Setting.default_language = 'en' diff --git a/test/integration/layout_test.rb b/test/integration/layout_test.rb index b3d9d3511..34a29354c 100644 --- a/test/integration/layout_test.rb +++ b/test/integration/layout_test.rb @@ -24,8 +24,7 @@ class LayoutTest < ActionController::IntegrationTest :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules test "browsing to a missing page should render the base layout" do get "/users/100000000" diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb index a370fe696..a083b055a 100644 --- a/test/integration/lib/redmine/menu_manager_test.rb +++ b/test/integration/lib/redmine/menu_manager_test.rb @@ -26,8 +26,7 @@ class MenuManagerTest < ActionController::IntegrationTest :roles, :member_roles, :members, - :enabled_modules, - :workflows + :enabled_modules def test_project_menu_with_specific_locale get 'projects/ecookbook/issues', { }, 'HTTP_ACCEPT_LANGUAGE' => 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb index 4d5abd1c5..8ea341198 100644 --- a/test/unit/lib/redmine/helpers/gantt_test.rb +++ b/test/unit/lib/redmine/helpers/gantt_test.rb @@ -26,7 +26,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase :member_roles, :members, :enabled_modules, - :workflows, :versions, :groups_users diff --git a/test/unit/lib/redmine/hook_test.rb b/test/unit/lib/redmine/hook_test.rb index 4e304689f..9f81b912d 100644 --- a/test/unit/lib/redmine/hook_test.rb +++ b/test/unit/lib/redmine/hook_test.rb @@ -23,7 +23,7 @@ class Redmine::Hook::ManagerTest < ActionView::TestCase :trackers, :projects_trackers, :enabled_modules, :versions, - :issue_statuses, :issue_categories, :issue_relations, :workflows, + :issue_statuses, :issue_categories, :issue_relations, :enumerations, :issues