From: Jean-Philippe Lang Date: Sun, 28 Dec 2008 09:46:16 +0000 (+0000) Subject: Fixes functional tests fixtures (#2398). X-Git-Tag: 0.9.0~846 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bde72a5f403805a2a571e26a65a4b7bd37b1a6da;p=redmine.git Fixes functional tests fixtures (#2398). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2190 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index a6e379991..4d96a3f3b 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -22,7 +22,7 @@ require 'account_controller' class AccountController; def rescue_action(e) raise e end; end class AccountControllerTest < Test::Unit::TestCase - fixtures :users + fixtures :users, :roles def setup @controller = AccountController.new diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index f5c3c0f57..c60a4a0e0 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -23,7 +23,8 @@ class AttachmentsController; def rescue_action(e) raise e end; end class AttachmentsControllerTest < Test::Unit::TestCase - fixtures :users, :projects, :roles, :members, :enabled_modules, :issues, :attachments + fixtures :users, :projects, :roles, :members, :enabled_modules, :issues, :attachments, + :versions, :wiki_pages, :wikis def setup @controller = AttachmentsController.new