From f6b05ea3fb6be296e8bbed4aca4d8bd4357058e5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 14 Sep 2008 12:41:24 +0000 Subject: [PATCH] Functional tests fail when run on their own (#1895). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1828 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/attachments_controller_test.rb | 2 +- test/functional/issues_controller_test.rb | 1 + test/functional/repositories_subversion_controller_test.rb | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index 06a6343ba..139896ce6 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -23,7 +23,7 @@ class AttachmentsController; def rescue_action(e) raise e end; end class AttachmentsControllerTest < Test::Unit::TestCase - fixtures :users, :projects, :issues, :attachments + fixtures :users, :projects, :roles, :members, :enabled_modules, :issues, :attachments def setup @controller = AttachmentsController.new diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 52426b4d9..9e2a9ffd5 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -28,6 +28,7 @@ class IssuesControllerTest < Test::Unit::TestCase :members, :issues, :issue_statuses, + :versions, :trackers, :projects_trackers, :issue_categories, diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb index 35dfbb1a1..8320be7e7 100644 --- a/test/functional/repositories_subversion_controller_test.rb +++ b/test/functional/repositories_subversion_controller_test.rb @@ -22,7 +22,9 @@ require 'repositories_controller' class RepositoriesController; def rescue_action(e) raise e end; end class RepositoriesSubversionControllerTest < Test::Unit::TestCase - fixtures :projects, :users, :roles, :members, :repositories, :issues, :issue_statuses, :changesets, :changes, :issue_categories, :enumerations, :custom_fields, :custom_values, :trackers + fixtures :projects, :users, :roles, :members, :enabled_modules, + :repositories, :issues, :issue_statuses, :changesets, :changes, + :issue_categories, :enumerations, :custom_fields, :custom_values, :trackers # No '..' in the repository path for svn REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/subversion_repository' -- 2.39.5