Functional tests fail when run on their own (#1895).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1828 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-09-14 12:41:24 +00:00
parent 3041041a62
commit f6b05ea3fb
3 changed files with 5 additions and 2 deletions

View File

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

View File

@ -28,6 +28,7 @@ class IssuesControllerTest < Test::Unit::TestCase
:members,
:issues,
:issue_statuses,
:versions,
:trackers,
:projects_trackers,
:issue_categories,

View File

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