diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-14 12:41:24 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-14 12:41:24 +0000 |
commit | f6b05ea3fb6be296e8bbed4aca4d8bd4357058e5 (patch) | |
tree | 01eb7a177533826840ed8423441d5e8b81d06f97 /test/functional | |
parent | 3041041a62ef0182566b80b35dc5be796907a531 (diff) | |
download | redmine-f6b05ea3fb6be296e8bbed4aca4d8bd4357058e5.tar.gz redmine-f6b05ea3fb6be296e8bbed4aca4d8bd4357058e5.zip |
Functional tests fail when run on their own (#1895).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1828 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/attachments_controller_test.rb | 2 | ||||
-rw-r--r-- | test/functional/issues_controller_test.rb | 1 | ||||
-rw-r--r-- | 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' |