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:
parent
0beef88850
commit
7d9c45fb8a
|
@ -22,7 +22,8 @@ require 'issue_categories_controller'
|
||||||
class IssueCategoriesController; def rescue_action(e) raise e end; end
|
class IssueCategoriesController; def rescue_action(e) raise e end; end
|
||||||
|
|
||||||
class IssueCategoriesControllerTest < ActionController::TestCase
|
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
|
def setup
|
||||||
@controller = IssueCategoriesController.new
|
@controller = IssueCategoriesController.new
|
||||||
|
|
|
@ -6,7 +6,7 @@ class IssueStatusesController; def rescue_action(e) raise e end; end
|
||||||
|
|
||||||
|
|
||||||
class IssueStatusesControllerTest < ActionController::TestCase
|
class IssueStatusesControllerTest < ActionController::TestCase
|
||||||
fixtures :issue_statuses, :issues
|
fixtures :issue_statuses, :issues, :users
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@controller = IssueStatusesController.new
|
@controller = IssueStatusesController.new
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
require File.expand_path('../../test_helper', __FILE__)
|
require File.expand_path('../../test_helper', __FILE__)
|
||||||
|
|
||||||
class QueriesControllerTest < ActionController::TestCase
|
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
|
def setup
|
||||||
User.current = nil
|
User.current = nil
|
||||||
|
|
|
@ -6,7 +6,7 @@ class SearchController; def rescue_action(e) raise e end; end
|
||||||
|
|
||||||
class SearchControllerTest < ActionController::TestCase
|
class SearchControllerTest < ActionController::TestCase
|
||||||
fixtures :projects, :enabled_modules, :roles, :users, :members, :member_roles,
|
fixtures :projects, :enabled_modules, :roles, :users, :members, :member_roles,
|
||||||
:issues, :trackers, :issue_statuses,
|
:issues, :trackers, :issue_statuses, :enumerations,
|
||||||
:custom_fields, :custom_values,
|
:custom_fields, :custom_values,
|
||||||
:repositories, :changesets
|
:repositories, :changesets
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue