From: Jean-Baptiste Barth Date: Thu, 1 Nov 2012 22:47:44 +0000 (+0000) Subject: Fixed some more test/functional/*_test.rb breaking when run alone (#12285) X-Git-Tag: 2.2.0~98 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7d9c45fb8aa53a446399e32f224b4c319f269b22;p=redmine.git Fixed some more test/functional/*_test.rb breaking when run alone (#12285) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10787 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/issue_categories_controller_test.rb b/test/functional/issue_categories_controller_test.rb index 8364e11f1..33141f463 100644 --- a/test/functional/issue_categories_controller_test.rb +++ b/test/functional/issue_categories_controller_test.rb @@ -22,7 +22,8 @@ require 'issue_categories_controller' class IssueCategoriesController; def rescue_action(e) raise e end; end class IssueCategoriesControllerTest < ActionController::TestCase - fixtures :projects, :users, :members, :member_roles, :roles, :enabled_modules, :issue_categories + fixtures :projects, :users, :members, :member_roles, :roles, :enabled_modules, :issue_categories, + :issues def setup @controller = IssueCategoriesController.new diff --git a/test/functional/issue_statuses_controller_test.rb b/test/functional/issue_statuses_controller_test.rb index 761f1992e..bfed246b6 100644 --- a/test/functional/issue_statuses_controller_test.rb +++ b/test/functional/issue_statuses_controller_test.rb @@ -6,7 +6,7 @@ class IssueStatusesController; def rescue_action(e) raise e end; end class IssueStatusesControllerTest < ActionController::TestCase - fixtures :issue_statuses, :issues + fixtures :issue_statuses, :issues, :users def setup @controller = IssueStatusesController.new diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index aae7e93bc..ba8ec13bc 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -18,7 +18,7 @@ require File.expand_path('../../test_helper', __FILE__) class QueriesControllerTest < ActionController::TestCase - fixtures :projects, :users, :members, :member_roles, :roles, :trackers, :issue_statuses, :issue_categories, :enumerations, :issues, :custom_fields, :custom_values, :queries + fixtures :projects, :users, :members, :member_roles, :roles, :trackers, :issue_statuses, :issue_categories, :enumerations, :issues, :custom_fields, :custom_values, :queries, :enabled_modules def setup User.current = nil diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb index 9bcb72dbd..40e140060 100644 --- a/test/functional/search_controller_test.rb +++ b/test/functional/search_controller_test.rb @@ -6,7 +6,7 @@ class SearchController; def rescue_action(e) raise e end; end class SearchControllerTest < ActionController::TestCase fixtures :projects, :enabled_modules, :roles, :users, :members, :member_roles, - :issues, :trackers, :issue_statuses, + :issues, :trackers, :issue_statuses, :enumerations, :custom_fields, :custom_values, :repositories, :changesets