summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2012-11-01 22:47:44 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2012-11-01 22:47:44 +0000
commit7d9c45fb8aa53a446399e32f224b4c319f269b22 (patch)
tree4edbf1a18cf8d95eab2a8905c906f1b21288aa6f
parent0beef88850b6a6b85d66e717c62c0e44b1cca23f (diff)
downloadredmine-7d9c45fb8aa53a446399e32f224b4c319f269b22.tar.gz
redmine-7d9c45fb8aa53a446399e32f224b4c319f269b22.zip
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
-rw-r--r--test/functional/issue_categories_controller_test.rb3
-rw-r--r--test/functional/issue_statuses_controller_test.rb2
-rw-r--r--test/functional/queries_controller_test.rb2
-rw-r--r--test/functional/search_controller_test.rb2
4 files changed, 5 insertions, 4 deletions
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