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
This commit is contained in:
Jean-Baptiste Barth 2012-11-01 22:47:44 +00:00
parent 0beef88850
commit 7d9c45fb8a
4 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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