From 4fa7f621823e12e627828c8b5fc222d7bc93c8b0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 3 Feb 2013 14:27:19 +0000 Subject: [PATCH] Removed unused fixtures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11321 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/group_test.rb | 4 +--- test/unit/helpers/projects_helper_test.rb | 3 +-- test/unit/issue_nested_set_test.rb | 9 +++------ test/unit/member_test.rb | 1 - test/unit/time_entry_test.rb | 3 +-- test/unit/user_test.rb | 3 +-- 6 files changed, 7 insertions(+), 16 deletions(-) diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb index 351a0973c..c04583ae6 100644 --- a/test/unit/group_test.rb +++ b/test/unit/group_test.rb @@ -19,13 +19,11 @@ require File.expand_path('../../test_helper', __FILE__) class GroupTest < ActiveSupport::TestCase fixtures :projects, :trackers, :issue_statuses, :issues, - :enumerations, :users, :issue_categories, + :enumerations, :users, :projects_trackers, :roles, :member_roles, :members, - :enabled_modules, - :workflows, :groups_users include Redmine::I18n diff --git a/test/unit/helpers/projects_helper_test.rb b/test/unit/helpers/projects_helper_test.rb index a40b58a8e..c8fe57452 100644 --- a/test/unit/helpers/projects_helper_test.rb +++ b/test/unit/helpers/projects_helper_test.rb @@ -29,8 +29,7 @@ class ProjectsHelperTest < ActionView::TestCase :member_roles, :members, :groups_users, - :enabled_modules, - :workflows + :enabled_modules def setup super diff --git a/test/unit/issue_nested_set_test.rb b/test/unit/issue_nested_set_test.rb index d2bd9b11b..dc0c3d3aa 100644 --- a/test/unit/issue_nested_set_test.rb +++ b/test/unit/issue_nested_set_test.rb @@ -18,14 +18,11 @@ require File.expand_path('../../test_helper', __FILE__) class IssueNestedSetTest < ActiveSupport::TestCase - fixtures :projects, :users, :members, :member_roles, :roles, + fixtures :projects, :users, :roles, :trackers, :projects_trackers, - :versions, - :issue_statuses, :issue_categories, :issue_relations, :workflows, + :issue_statuses, :issue_categories, :issue_relations, :enumerations, - :issues, - :custom_fields, :custom_fields_projects, :custom_fields_trackers, :custom_values, - :time_entries + :issues def test_create_root_issue issue1 = Issue.generate! diff --git a/test/unit/member_test.rb b/test/unit/member_test.rb index 275e16599..b9bc4c78c 100644 --- a/test/unit/member_test.rb +++ b/test/unit/member_test.rb @@ -25,7 +25,6 @@ class MemberTest < ActiveSupport::TestCase :member_roles, :members, :enabled_modules, - :workflows, :groups_users, :watchers, :journals, :journal_details, diff --git a/test/unit/time_entry_test.rb b/test/unit/time_entry_test.rb index 3f16fa0f5..cb6d37d54 100644 --- a/test/unit/time_entry_test.rb +++ b/test/unit/time_entry_test.rb @@ -25,8 +25,7 @@ class TimeEntryTest < ActiveSupport::TestCase :journals, :journal_details, :issue_categories, :enumerations, :groups_users, - :enabled_modules, - :workflows + :enabled_modules def test_hours_format assertions = { "2" => 2.0, diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 6aa7fe19c..28d09518e 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -25,8 +25,7 @@ class UserTest < ActiveSupport::TestCase :issue_categories, :enumerations, :issues, :journals, :journal_details, :groups_users, - :enabled_modules, - :workflows + :enabled_modules def setup @admin = User.find(1) -- 2.39.5